Hi I think you need a polling consumer then that polls for a given time and then iterate the list of queues. I don't think you kinda like listen to multiple queues in a single thread/process?
But I doubt that Camel has a DSL that does this out of the box. And I guess the queues and topics should be durable (persistent) so you wont lose messages while polling other queues You can also try the ActiveMQ user forum as they might have had such a use case before. /Claus Ibsen Apache Camel Committer Blog: http://davsclaus.blogspot.com/ On Thu, Nov 20, 2008 at 7:39 AM, Coder One <[EMAIL PROTECTED]> wrote: > Clarification: > > I need to have a single server process listening on multiple JMS > queues/topics and then do the routing accordingly... > > Thx... > > > --- On Wed, 11/19/08, Coder One <[EMAIL PROTECTED]> wrote: > >> From: Coder One <[EMAIL PROTECTED]> >> Subject: Competing Consumers Variant >> To: [email protected] >> Date: Wednesday, November 19, 2008, 10:32 PM >> From within a single Route configure() and consumer, is it >> possible to achieve the following: >> >> from("jms.A")... >> from("jms.B")... >> from("jms.C")... >> >> and have all from's execute concurrently? >> >> A bit more advanced, I need a route that can dynamically >> change the from piece based on some configuration setting. >> ie...do a >> >> from(senderList).blabla >> >> and have a separate thread executing each sender... >> >> Thanks... > > > > >
