[prev in list] [next in list] [prev in thread] [next in thread]
List: activemq-dev
Subject: ActiveMQ connection failover suggesstions
From: markl16 <mwilliamson () tssg ! org>
Date: 2008-03-28 13:23:14
Message-ID: 16349666.post () talk ! nabble ! com
[Download RAW message or body]
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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic