activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <>
Subject Re: How to catch javax.jms.InvalidClientIDException from AMQ
Date Tue, 19 Apr 2011 10:36:00 GMT
There is org.apache.activemq.ActiveMQConnection#setExceptionListener

You may be better dealing with the root cause of the exception. Either
properly close a connection or use the failover transport such that
that exception is avoided b/c a new connection with the same id is
treated as a reconnect and overwrites.

On 18 April 2011 19:36, teapot <> wrote:
> Hi:
> I am using ActiveMQ 5.4.2. I used spring bean to configure ActiveMQ broker
> and run the application on Tomcat. Is there any way to plug in an exception
> handler for javax.jms.InvalidClientIDException from the broker? The handler
> is to deal with the exception the broker output to the Tomcat server log. I
> want to filter out that exception so that it did not show up on the server
> log.
> Thanks.
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at


View raw message