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://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 Tue, Dec 27, 2011 at 11:29 AM, Stevo Slavić <ssla...@gmail.com> wrote:

> 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 was
> up and objects got pooled. Need also to specify timeouts for obtaining
> objects from pool. I see commons-pool is being used but couldn't find in
> ActiveMQ sources examples for configuring validation.
>
> Regards,
> Stevo.
>
> On Tue, Dec 27, 2011 at 10:22 AM, Dejan Bosanac <de...@nighttale.net>
> wrote:
>
> > 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 Mon, Dec 26, 2011 at 2:32 PM, Stevo Slavić <ssla...@gmail.com> wrote:
> >
> > > Hello ActiveMQ community,
> > >
> > > org.apache.activemq.pool.PooledConnectionFactory doesn't seem to
> support
> > > configuring validation of connections. Or am I missing something?
> > >
> > > Regards,
> > > Stevo.
> > >
> >
>

Reply via email to