activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino" <>
Subject Re: ActiveMQ connection failover suggesstions
Date Mon, 07 Apr 2008 13:35:03 GMT
Use the failover:// connection URI see:

On Fri, Mar 28, 2008 at 9:23 AM, markl16 <> wrote:
>  Hi Guys,
>  Just a question about the standard practice with failover.
>  I am currently testing AciveMQ 5 reading and writing TextMessages to
>  numerous queues with no problem as well as using a messageListner.
>  Now at the moment if my activeMQ connection throws an exception as the
>  connection is closed or a message cant be delivered due to the session being
>  closed my application has no way of reconnecting the session. I was just
>  thinking of trying to reconnect to the queue if an exception is thrown from
>  within a catch block or is there a better way of doing this??
>  Perhaps is there a way to prob a queue to see if it is active without having
>  to write to it or connect to it?
>  best
>  Mark
>  --
>  View this message in context:
>  Sent from the ActiveMQ - Dev mailing list archive at



Open Source SOA

View raw message