Re: how to route a single message to multiple MessageGroups?

2010-05-21 Thread Mike Reynolds
> Thanks, Claus. I ended up using the loop DSL, and it looks like the > messages are created properly on the queue with the proper JMSXGroupID > header property. > However, now when I attempt to process them, they are all being processed > in a pipeline (serial). And if I set it to async, the

Re: how to route a single message to multiple MessageGroups?

2010-05-20 Thread Mike Reynolds
>You can send them one at a time and change the JMSXGroupID. >Or you can use a bean to send the messages from java code using the >ProducerTemplate to do that in one line of code. >Then you can set/change the JMSXGroupID in Java code. Thanks, Claus. I ended up using the loop DSL, and it looks li

Re: how to route a single message to multiple MessageGroups?

2010-05-20 Thread Mike Reynolds
Use the Content Based Router to route the message to either one. > And on the way you can set the header accordingly. > > > > On Thu, May 20, 2010 at 5:06 AM, Mike Reynolds > wrote: >> >> I'm using Camel 2.2, ActiveMQ 5.3. >> I'd like to route a si

how to route a single message to multiple MessageGroups?

2010-05-19 Thread Mike Reynolds
I'm using Camel 2.2, ActiveMQ 5.3. I'd like to route a single message to a number ActiveMQ MessageGroups (as determined at runtime based on the message content). Use Case: 1) message FOO comes in of type BAR 2) a db lookup is performed, and it is determined that all BAR messages must be placed in