activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlo Camerino <carlo.camer...@gmail.com>
Subject How To Check If A Networked Connector Is Up
Date Thu, 21 Jan 2010 08:59:07 GMT
Hi,

I have a sistuation in which i use a network connector to communicate with
another broker,
my problem is that when the other networked connector is turned off,
activemq still trys to send a message to

i'm using producertemplate in camel btw,

object.sendRequest(body, "activemq:financials");

financials is a queue which is configured to do a store and forward to the
other broker residing on another system.
]


is there any way i could check that if networkbroker a's connection to
networkbroker b is down,
the system will automatically throw an exception.

The default behavior seems to be, when i place a message on the "queue" on
broker a, the system still waits for the message to timeout.

It doesn't alert me that no connection is available at all.

How can this be avoided?

Thanks A lot

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message