Re: Connection pooling - validation

2011-12-27 Thread Dejan Bosanac
We don't have that implemented (contributions are welcomed :), but the usual approach is to use failover transport ( http://activemq.apache.org/failover-transport-reference.html) which will ensure that connection is automatically reconnected when broker restarts. Regards -- Dejan Bosanac - http:

Re: Connection pooling - validation

2011-12-27 Thread Stevo Slavić
Hi Dejan, I'm mostly interested in connection validation, but I see that Session and MessageProducer objects are being pooled as well. I'm using Spring's JmsTemplate and MessagListenerContainer and would like to make sure that they do not get "broken" pooled objects when ActiveMQ is down after it

Re: Connection pooling - validation

2011-12-27 Thread Dejan Bosanac
Hi Stevo, what kind of validation are you interested in? Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Mo

Connection pooling - validation

2011-12-26 Thread Stevo Slavić
Hello ActiveMQ community, org.apache.activemq.pool.PooledConnectionFactory doesn't seem to support configuring validation of connections. Or am I missing something? Regards, Stevo.