4 Replies Latest reply on Jul 5, 2004 6:03 AM by Ulf Schroeter

    successive consume of messages

    juraj Newbie


      I need to consume the JMS messages successivly. That means if I send 10 messages to the queue the onMessage-method has to be called and proceeded. After finishing the process of the first message the next message has to be consumed.

      The actual situation is, that for each message a instance is created and all messages were consumed on one time.

      Is this possible with such an Singleton MDB? How to set up it in 3.2.3 (specially in jboss.xml)? Would this solve my problem or knows someone a better way?