activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: Connection pooling - validation
Date Tue, 27 Dec 2011 10:38:53 GMT
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ć <sslavic@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 <dejan@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ć <sslavic@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.
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message