activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Thomas Lichti <>
Subject Network of brokers and listener with selectors
Date Tue, 21 Apr 2009 10:05:21 GMT

we just switched over from a JDBC-based failover configuration to a
network of brokers and now have the following situation:

1. we have two active brokers (that's fine).
2. we have MDBs that listen on one broker and get all messages
regardless of the broker where the message has been produced (that's
fine, too).

3. we have a dynamic listener (from a java servlet) that uses a selector
to wait for a specific answer. But the answer often lies around "on the
other broker" (the broker where the servlet is not connected to).

In case 3 there are multiple listeners (and listeners on both brokers).
But only one listener accepts a specific message due to the selector on
the listener. Is there a way to get the selector communicated between
the brokers so that the message will change be transfered to the right

Our configs are the same on both broker (see attachment).

I'm very new to administering ActiveMQ (I have been developer but got
assigned the duty of administering our broker system, too), so there may
be a big mistake in the configuration.


Roland Thomas Lichti
Telefónica Deutschland GmbH
Hülshorstweg 30, D-33415 Verl
Tel +49(0)5246-80-1121
Mobil +49(0)160-98949570
Fax +49(0)5246-80-2121

Telefónica Deutschland GmbH || Georg-Brauchle-Ring 23-25 || 80992 München ||
Telefon: 05246 80-1080 || Fax: 05246 80-2080  || E-Mail:
Ust.-Id.-Nr. DE 167 388 434 || Amtsgericht München HRB 108 006
Geschäftsführer: Johannes Pruchnow, Dr. Dirk Schmelzer, Michael Fränkle
Bankverbindung: Konto 158 09 76 || BLZ 478 400 65 || Commerzbank Gütersloh 

View raw message