[jboss-user] [JBoss Messaging] - Observing JMS Bridge Connections?

julians37 do-not-reply at jboss.com
Sun Sep 9 22:24:04 EDT 2007

I'm looking for a way to get notified by JBoss Messaging when a JMS Bridge to a remote broker goes down and comes up again. The connection between my bridged JMS brokers is not always available and I need to provide failover behaviour for when it is unavailable.

I've read the user documentation and I've taken a look at the code in Bridge.java, but it doesn't seem as if there would be any kind of notification mechanism in place. What would be the best way to implement this - would I have to provide a custom ConnectionFactory that creates wrapped connection objects handling the notification? Would it be better to use the aspect interface and advise the corresponding functions in javax.jms.Connection? Is there a more elegant way that I've overlooked?

In the long term, are there any plans to implement something akin to ApacheMQ's advisory messages?

Thanks in advance.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082436#4082436

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082436

More information about the jboss-user mailing list