ok, but an setExceptionListener is supposed to be per connection as per the JMS spec. I guess what you want is an enhancement to PooledConnectionFactory to make use of the new setExceptionListener in ActiveMQConnectionFactory where a listener can be set on the factory that will apply to all connections created by that factory. See: https://issues.apache.org/activemq/browse/AMQ-2062
If that is the case, can you create a JIRA issue for PooledConnectionFactory to track that enhancement. thanks. 2009/4/10 Lukasz Zielinski <[email protected]> > > Hello, > > >To your second question, can you expand on your issue with > >setExceptionListener? > I described this issue > http://fusesource.com/forums/thread.jspa?threadID=779&tstart=0 here but > to > quickly sum up when ExceptionListener is set on PooledConnection is simply > delegates to wrapped ActiveMQConnection so when i.e. 10 connections are > created using PCF and on each a new listener is set, only the last one will > get notified about problems. > > > > -- > View this message in context: > http://www.nabble.com/PooledConnectionFactory-and-consumer-pooling-tp22952902p22986936.html > Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. > > -- http://blog.garytully.com Open Source SOA http://FUSESource.com
