Search:

Type: Posts; User: malmit; Keyword(s):

Search: Search took 0.02 seconds.

  1. Dynamically create file:inbound-channel-adapters?

    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...
  2. Replies
    7
    Views
    1,861

    Spring Batch 2.1.5 Samples Broken

    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...
  3. Replies
    2
    Views
    1,406

    Starting and Stopping MDP JMS Consumption

    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...
  4. Replies
    3
    Views
    1,196

    ActiveMQ Follow up questions

    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...
  5. Replies
    3
    Views
    1,196

    Spring JMS Consumption

    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...
  6. Here is the code

    public class HibernateBureau extends HibernateDaoSupport
    {
    public void storeTest()
    {
    Bureau b = new Bureau();
    b.setBureauId("bureauId");
    b.setCode(1);
    b.setCount(2);...
  7. Problem closing hibernate session in SessionFactoryUtils

    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...
  8. Replies
    0
    Views
    715

    How does transactional Jms work in Spring?

    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...
  9. Replies
    3
    Views
    1,128

    TransactionManager Question

    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...
  10. Replies
    3
    Views
    1,128

    TransactionManager Question

    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...
  11. TypeMismatchException: Failed to convert property value of type...

    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...
  12. Replies
    1
    Views
    1,367

    Spring JDBC auto-commit

    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...
  13. Replies
    1
    Views
    2,201

    Spring TypeMismatchException Bug?

    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...
  14. JNDI works differently for different beans using JBoss?

    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...
  15. Transaction spanning across many objects in the system

    I am building an application which has the following flow:

    webservice1 --> jmsqueue1 --> mdb1 --> jmsqueue2 --> mdb2 --->...

    webservice1 - receives a SOAP search request, inserts the request...
  16. Processing form using a Controller w/ multiple submit button

    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,...
Results 1 to 16 of 16