Re: Using loop EIP to solve a Usecase

2015-06-06 Thread gargankur007
Hi Claus If I am using a dynamic router to direct to same component from where message originated it is going into infinite loop Below is the log 23:29:13,492 | INFO | E-URL.readQueue] | SLAEventNotifer | 142 - org.apache.camel.camel-core - 2.12.0.redhat-610379 | [Message

Re: Netty component and acknowledgement message

2015-06-06 Thread Claus Ibsen
Hi If .to(myQueue); is using InOut as MEP and myQueue is JMS based then its doing request/reply too, and therefore would expect a reply message and if not you get a timeout error after 20 seconds. If you just want to do a fire and forget on the queue then use event message pattern

Re: Enrich, Message transformation before endpoint call

2015-06-06 Thread Claus Ibsen
Hi No the enrich cannot do any pre routing / steps. On Thu, Jun 4, 2015 at 11:36 PM, MC 2320...@gmail.com wrote: Hi, Is there a way to transform the payload/message being sent to enrich endpoint(rather than passing the actual message). I want to keep the original message untouched while

Re: Camel Graceful Shutdown Issue for JMS endpoints

2015-06-06 Thread Claus Ibsen
Hi If you have setup connection pool then make sure to setup its init and destroy methods so the pool is shutdown cleanly as well http://camel.apache.org/activemq On Fri, Jun 5, 2015 at 6:09 AM, yogu13 yog...@gmail.com wrote: Hello, I am using camel 2.14.1 in karaf with ActiveMQ 5.10. During

Re: Apache Camel Simple Language regex fails

2015-06-06 Thread Claus Ibsen
Hi Your regular expression is wrong. You need to have it match all the digits. I added an unit test public void testSimpleRegexp() throws Exception { exchange.getIn().setBody(12345678); assertPredicate(${body} regex '\\d+', true); assertPredicate(${body} regex