activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From suganya <>
Subject Re: Session is not getting closed
Date Thu, 19 Mar 2015 09:56:33 GMT
Broker version : 5.4.3
Code written for session creation and closing,

ActiveMQConnectionFactory connectionFactory = new
connection = connectionFactory.createConnection();
Session session = connection.createSession(false,

//while closing a session, will perform a null check and call close().

Also please note that, this application is multi-tenant which has individual
consumer for each customer.
Though, the messages in queue are read by all the consumers of the queue
only the intended consumer will acknowledge the message.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message