activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ColinStefani <>
Subject Dynamic/Programmatic message bridge/routes?
Date Mon, 25 Aug 2008 17:22:33 GMT

First, I am not the dev here so grain of salt if I'm overlooking some obvious
feature of AMQ, but am looking for guidance/info on the concept of
routing/bridging messages around between topics and queues within the broker
(not between brokers). I am very familiar with Tibco EMS and they have a
"bridge" concept where one can (on the fly, via config file or
programmatically) create a "bridge" between a topic or queue. For example I
can go in to their VERY easy to use console admin tool and do a "create
bridge source=... target=... selector=..." and voila I now have an easy
bridge built to move messages around between the source and target. AMQ
seems to have nothing of this sort that can be done outside of manually
editing the configuration file and restarting the broker (not very cool when
you're trying do this in the background while the system is in production).

The question I am interested in answering, is in ActiveMQ is there a way to
do this type of things outside of the configuration file? I am familiar with
the Camel routing and some of the methods of enterprise patterns in AMQ,
however I cannot find any reference to how one can, while the broker is
running, create a bridge/route between topics/queues or vice versa without
having to edit the configuration file and restart the broker.

Basically, what it boils down to for me is that I use these bridges often
for both production use (they are static in my Tibco configuration in this
case) and for testing/monitoring use (where they are created on demand while
the system is running). The latter is where I might create a bridge on the
fly to "watch" messages from some application or going to some

Side note (suggestion?) to this, often I want to watch the inbound messages
to a queue, but so far in AMQ I have not been able to figure out how to
bridge messages from a queue to a topic in a way that doesn't actually
consume the messages (in Tibco they are "copied" without impact to the
consumers on the queue).

I hope this makes sense. There maybe ways to do this I have not found yet
(i.e. via coding so that I could build a web app to bridge messages around
or something) but I haven't been able to find any reference to this so far
in AMQ docs or forums. We leverage this heavily given the complex
environment I'm using, and my goal is to replace Tibco EMS with AMQ
eventually, but was hoping for some equivalency in this area since it's
common in other brokers as well and I might just be missing it.

Thanks and Regards,

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message