You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Marcin Szkudlarek <ma...@gmail.com> on 2007/09/06 15:12:02 UTC
connection state check
Hi all,
How I can check the state of activemq connection? i.e. how i can check that
the activemq server is up and running? My app needs to detect the cases when
the server is killed by kill -9 so advisory topics are not helpful here.
I'm using SpringFramework support for activemq.
Regards,
Marcin
--
View this message in context: http://www.nabble.com/connection-state-check-tf4392072s2354.html#a12522291
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: connection state check
Posted by Marcin Szkudlarek <ma...@gmail.com>.
Thanks for suggestion. I've already tried that and getting no notification
that the server is down.
Regards,
Marcin
James.Strachan wrote:
>
> On 9/6/07, Marcin Szkudlarek <ma...@gmail.com> wrote:
>>
>> Hi all,
>> How I can check the state of activemq connection? i.e. how i can check
>> that
>> the activemq server is up and running? My app needs to detect the cases
>> when
>> the server is killed by kill -9 so advisory topics are not helpful here.
>>
>> I'm using SpringFramework support for activemq.
>
> Here you go
> http://cwiki.apache.org/ACTIVEMQ/how-can-i-monitor-the-connection-with-the-broker.html
>
>
> --
> James
> -------
> http://macstrac.blogspot.com/
>
>
--
View this message in context: http://www.nabble.com/connection-state-check-tf4392072s2354.html#a12612659
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: connection state check
Posted by James Strachan <ja...@gmail.com>.
On 9/6/07, Marcin Szkudlarek <ma...@gmail.com> wrote:
>
> Hi all,
> How I can check the state of activemq connection? i.e. how i can check that
> the activemq server is up and running? My app needs to detect the cases when
> the server is killed by kill -9 so advisory topics are not helpful here.
>
> I'm using SpringFramework support for activemq.
Here you go
http://cwiki.apache.org/ACTIVEMQ/how-can-i-monitor-the-connection-with-the-broker.html
--
James
-------
http://macstrac.blogspot.com/
Re: connection state check
Posted by Juergen Mayrbaeurl <ju...@hvb.sozvers.at>.
Hi!
Try to use the JMX interface ( http://activemq.apache.org/jmx.html ActiveMQ
JMX ).
Since you're using Spring this is quite easy.
Kind regards
Juergen
Marcin Szkudlarek wrote:
>
> Hi all,
> How I can check the state of activemq connection? i.e. how i can check
> that the activemq server is up and running? My app needs to detect the
> cases when the server is killed by kill -9 so advisory topics are not
> helpful here.
>
> I'm using SpringFramework support for activemq.
>
> Regards,
>
> Marcin
>
--
View this message in context: http://www.nabble.com/connection-state-check-tf4392072s2354.html#a12522679
Sent from the ActiveMQ - User mailing list archive at Nabble.com.