activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino" <hi...@hiramchirino.com>
Subject Re: ActiveMQ connection failover suggesstions
Date Mon, 07 Apr 2008 13:35:03 GMT
Use the failover:// connection URI see:
http://activemq.apache.org/failover-transport-reference.html

On Fri, Mar 28, 2008 at 9:23 AM, markl16 <mwilliamson@tssg.org> 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: http://www.nabble.com/ActiveMQ-connection-failover-suggesstions-tp16349666s2354p16349666.html
>  Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>
>



-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://open.iona.com

Mime
View raw message