Re: Qpid JMS 0.11.1 AMQP 1.0 client - How a message session can be closed in onMessage() method

2019-01-07 Thread Robbie Gemmell
JMS doesn't provide a route to determine the consumer/session/connection from a given Message, presumably because they are not in general tied to specific instances of these (the only way I can think any are directly related is the acknowledge() method). You would need to simply remember such thing

Qpid JMS 0.11.1 AMQP 1.0 client - How a message session can be closed in onMessage() method

2019-01-07 Thread Alessandro Crotti - SMC Consulting
Hi, When I'm consuming a message (running onMessage() method) there could be a particular condition why I need to close that message session and open it again. My application starts a connection to the Broker with many Sessions and, for each of those Sessions, one MessageConsumer. When I r