activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khudalla <>
Subject Re: Handling of RuntimeExceptions in method
Date Mon, 02 Jun 2008 06:50:54 GMT


I see what you mean. I think that the "ClientInternalExceptionListener"
should not be limited to JMSExceptions though, i.e. it should not implement
javax.jms.ExceptionListener but instead an interface
that provides an onException(Throwable exception) method, do you agree?

If so, I will add this to ActiveMQConnection and send you a patch for
review, okay?


rajdavies wrote:
> Hi Kai,
> I think you missed understood :)
> I'm proposing to add another on method on Connection - e.g.  
> setClientInternalExceptionListener() - that registers an exception  
> listener of internal exceptions only - like in this  
> case.
> We then only pass exceptions to the ExceptionListener registered by  
> setExceptionListener() that directly affect the connection.
> cheers,
> Rob

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

View raw message