I am building an application which monitors files which are written out to directories. The problem that I'm encountering now is that I need to dynamically (at runtime) create polling...
Type: Posts; User: malmit; Keyword(s):
I am building an application which monitors files which are written out to directories. The problem that I'm encountering now is that I need to dynamically (at runtime) create polling...
I just downloaded the latest version of Spring Batch v2.1.5 and started to run through the Getting Started Guide. While executing the steps in the "Maven on the Command-line" section using 'mvn...
I am using Message Driven POJOs (MDP) via Jencks, ActiveMQ and Spring on JBoss. There is a requirement that I am trying to satify which requires the ability to turn on and off JMS consumption for an...
Thanks for the information! I looked at the composition destinations and wildcard features in ActiveMQ and am curious to know what kind of algorithm it uses to retrieve a message off the group of...
Does Spring provide any easy way to implement a JMS consumer that listens for messages on 2 or more different queues? Message Driven Beans and Message Driven POJOs can only listen to one queue...
public class HibernateBureau extends HibernateDaoSupport
{
public void storeTest()
{
Bureau b = new Bureau();
b.setBureauId("bureauId");
b.setCode(1);
b.setCount(2);...
I tried implementing a simple test using Spring/Hibernate in a web based application. Everything works but each time I insert a record into the database I get a "Could not close Hibernate Session...
I'm developing an application which mixes PostgreSQL database transactions and JMS transactions. When the application runs all of the database statements are executed first and then a JMS message is...
Unfortunately, the XAConnection does not support suspend/resume so I will not be able to use the PROPAGATION_REQUIRES_NEW feature which I really need on the database side. Any other suggestions...
I'm building an application that will be writing data to a PostgreSQL database and also will be sending JMS messages to a JMS Queue. I would like to somehow get the database operations and JMS...
I ran into this annoying exception which took a long time to figure out and just want post it to save someone else the trouble and time.
Here is the stacktrace that I received:
11:47:19,708...
Any suggestions on how I can implement this kind of functionality?
I would like to use Spring JDBC to implement this.
1. Turn off auto-commit for PostgreSQL DB
2. Insert a record into the...
I am getting a TypeMismatchException which doesn't seem to make any sense. I am setting a org.springframework.jms.core.JmsTemplate property in a Message-driven Bean that I created with a...
I was configuring my beans to look up JNDI resources in JBoss and finally got things to look up properly but with inconsistent ways to look up using JNDI. Some beans required java:/ and others...
I am building an application which has the following flow:
webservice1 --> jmsqueue1 --> mdb1 --> jmsqueue2 --> mdb2 --->...
webservice1 - receives a SOAP search request, inserts the request...
I am new to Spring and can't figure out how to handle a submit with multiple submit buttons using one of Springs Controllers. The success view depends on which button the user clicks. For example,...