activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: taking a message on one queue and distributing it to other queues
Date Wed, 03 Sep 2008 15:55:59 GMT
2008/9/3 ilango_g <ilangocal@yahoo.com>:
>
> Hi
> I am trying to write a simple fan out app (or a distribution list maybe?)
> that will take a message on a queue and send it to various queues
>
>
> Any tips, pointers, sample code is appreciated.

e.g.

from("activemq:SomeQueue").
  to("activemq:Bar").
  to("activemq:Cheese");

http://activemq.apache.org/camel/

see the <camelContext> in the activemq.xml for an example.


There are more patterns here you might find useful
http://activemq.apache.org/camel/enterprise-integration-patterns.html


-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Mime
View raw message