Dear Qpid users, I'm using the Qpid AMQP 1.0 JMS client to connect to a ActiveMQ message broker.
Sometimes I'm getting a MessageProducerException (Force detach the link because the session is remotely ended.) when I'm trying to send a message to the broker. As for as I understand the error message, the broker ended the session and that´s why sending the message failed. I added an ExceptionListener to the JMS connection (via Connection.setExceptionListener(...)) and would expect that there will be an exception when the session is remotly ended by the broker so that I can react on this case. Why is there not exception for this case? Regards, Erik PS: here are the exceptions that happen when trying to send a message if the session was remotly ended: MessageProducerException (Force detach the link because the session is remotely ended.), trace: org.apache.qpid.amqp_1_0.jms.impl.MessageProducerImpl$2.run(MessageProducerImpl.java:125), java.lang.Thread.run(Thread.java:744) JMSException (Force detach the link because the session is remotely ended.), trace: org.apache.qpid.amqp_1_0.jms.impl.MessageConsumerImpl.checkReceiverError(MessageConsumerImpl.java:296), org.apache.qpid.amqp_1_0.jms.impl.SessionImpl$Dispatcher.run(SessionImpl.java:964), java.lang.Thread.run(Thread.java:744) -- View this message in context: http://qpid.2158936.n2.nabble.com/QPID-JMS-Java-Client-no-exception-when-session-is-remotely-ended-tp7620473.html Sent from the Apache Qpid users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org