JBoss Community

Re: Consumer JMS in JBoss 7.1.1-Final

created by Marcio B. in JBoss Messaging - View the full discussion

I solved the problem mentioned above by changing the object QueueReceiver by a MensageConsumer.

 

But a new problem arose, it consumes the first message and then have to restart JBoss for him to consume the next message. Why is it that he is not consuming all messages without restarting JBoss?

 

When I try consumer the 2nd message in the same instance of JBoss, I get a null.

Reply to this message by going to Community

Start a new discussion in JBoss Messaging at Community