activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Snyder" <bruce.sny...@gmail.com>
Subject Re: how to implement Content-based router
Date Mon, 13 Oct 2008 20:33:39 GMT
On Mon, Oct 13, 2008 at 1:24 PM, ilango_g <ilangocal@yahoo.com> wrote:
>
> Hi
> I have the following scenario: There would be a queue that has messages
> sitting on it. This queue has a listener that listens for messages and
> routes a certain message to a different queue (channel). So the queue acts
> as a Content-Based Router that examines the message content and routes the
> message onto a different queue channel based on data contained in the
> message. The routing can be based on the values carried in the JMS message.
>
> Is there a sample available that implements this pattern?

The easiest way to do this is using Apache Camel. See the following
for more info:

http://activemq.apache.org/camel/content-based-router.html

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/

Blog: http://bruceblog.org/

Mime
View raw message