activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <>
Subject Re: Trasport Listener for embedded broker network connectors
Date Wed, 08 Aug 2012 09:28:27 GMT
A network connector is quite different, as it keeps a connection and
producer open and funnels all messages over that single producer when
there are local messages and remote demand.

I think making use of message advisories will help your use case.

You can subscribe to the Producer advisory topic to get a notification
(via jms) of producer creation and deletion.

have  a read of:

On 7 August 2012 20:50, pollotek <> wrote:
> I want to be able to monitor when the embedded server establishes or loses
> connection with the stand alone server. My app is divided in producer app
> server nodes and consumer nodes.
> I know I can get a list of producers and consumers from the stand alone
> broker by querying JMX stats, but producers only appear on the JMX stats
> when they're actually posting new messages to the broker.
> In the case of app servers with embedded brokers that only produce messages,
> I won't be able to tell if they're currently connected to the stand alone
> broker unless I'm able to query the stand alone broker exactly when they're
> posting new messages.
> The alternatives here are by keeping track of the status in my Transport
> Listener or by parsing the logs (which is a very undesirable alternative).
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at


View raw message