|
|
|
bug with javax.jms.Session.AUTO_ACKNOWLEDGE in ActiveMQ ?
When I use createQueueSession(false, javax.jms.Session.AUTO_ACKNOWLEDGE) When I use createQueueSession(true, javax.jms.Session.AUTO_ACKNOWLEDGE) and the Messages are removed from the Queue. Note that a workaround is to disable optimizeAcknowledge - e.g.
tcp://localhost:61616?jms.optimizeAcknowledge=false |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Testing a Consumer with a transacted Session and commit
the Message is read and removed !!