Well if your health check doesn't work out, how are the clients going to be able to send to the broker anyway?
You should try jmx. There is an mbean that shows broker health. You can use jolokia and connect through a rest interface to query the health if you'd like as well. On Thursday, September 19, 2013, Chirag Pujara wrote: > I am not sure this is right forum for question but wondering if anyone has > solved this problem. > > I want to write some sort of health checker for JMS. So if it can't connect > to ActiveMq all client should stop sending msgs to it. > > can anyone guide me right direction. > > thanks, > chirag > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta
