Session is closed exception

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Session is closed exception

Hello All,

We are using in Talend activemq under the hood by component tJMSInput. This DI Job runs all the time but we get sometimes the exception:

javax.jms.IllegalStateException: The Session is closed
	at org.apache.activemq.ActiveMQSession.checkClosed(
	at org.apache.activemq.ActiveMQMessageConsumer$1.execute(
	at org.apache.activemq.command.ActiveMQMessage.acknowledge(

First question: Is the cause client or server (broker)?
Seciond question: If it is the client what can it do to avoid this exception maybe by establish a new connection/session?

See also:

The client is using activemq version 5.7.0

Kind regards