Re: Incoming message from the queue need to be send to multiple consumer but keep the ordering

2013-08-13 Thread salemi
First of all many thank to you all for your suggestions, I was available to come up with an scalable solution and our chief architect even accepted thesolution. I can ask the JMS producers to add the JMSXGroupID header as well as an additional header to use as an selector. As Claus suggested we

Re: Incoming message from the queue need to be send to multiple consumer but keep the ordering

2013-08-09 Thread salemi
when use ?multipleConsumers=true in the uri={{operational.topic.prefix}}.{{source.type}}.{{source.name}}?multipleConsumers=true I get the error that it doesn't know the property. Or do I have to use that somewhere else? - Alireza Salemi -- View this message in context:

Re: Incoming message from the queue need to be send to multiple consumer but keep the ordering

2013-08-08 Thread salemi
Hi, I am trying to use the message groups and I am getting the following error. What am I doing wrong. Exception in thread main 2013-08-08 13:01:20,904 [Thread-0 ] INFO MainSupport$HangupInterceptor - Received hang up - stopping the main instance. org.apache.camel.RuntimeCamelException:

Re: Incoming message from the queue need to be send to multiple consumer but keep the ordering

2013-08-08 Thread Claus Ibsen
You have 2 routes with the same uri, which is not allowed by default. You can set ?multipleConsumers=true to override that. If you are using queues then usually just one route and then use concurrentConsumers=X to have parallel processing. On Thu, Aug 8, 2013 at 8:25 PM, salemi

Re: Incoming message from the queue need to be send to multiple consumer but keep the ordering

2013-07-10 Thread Claus Ibsen
Hi In JMS you can use message groups for ordering http://activemq.apache.org/message-groups.html On Wed, Jul 10, 2013 at 5:59 AM, salemi sal...@avaya.com wrote: Hi, I like to implement a mechanism in Camel to receive message from a JMS queue. Once I have identified the type of message based

Incoming message from the queue need to be send to multiple consumer but keep the ordering

2013-07-09 Thread salemi
Hi, I like to implement a mechanism in Camel to receive message from a JMS queue. Once I have identified the type of message based on the content than I can forward them to JavaSpaces. The write to JavaSpaces takes about 3ms so I need to parallelize the writes. But there is a catch I can't