Re: Choich() with multiple Routing EIP

2012-02-09 Thread Christos Vasilakis
Hi there, > > Hadrian > I replied to you on irc yesterday, but it looks like you didn't get it. It's > a camel bug [1] Yes it was late at night and decided to leave work... ;) Nice to hear that will be fixed. Thanks! > Claus > There is a a .endChoice() which may do the trick. yeap endChoice()

Re: Choich() with multiple Routing EIP

2012-02-09 Thread Hadrian Zbarcea
Christos, I replied to you on irc yesterday, but it looks like you didn't get it. It's a camel bug [1]. I have a fix I will commit today which will require you to use end() and it will work (right now it doesn't). See the explanation in CAMEL-4995 [1]. Hadrian [1] https://issues.apache.org

Re: Choich() with multiple Routing EIP

2012-02-08 Thread Claus Ibsen
There is a a .endChoice() which may do the trick. On Wed, Feb 8, 2012 at 6:33 PM, Christos Vasilakis wrote: > Hi there, > > first of all many thanks for your excellent work!. It really makes my life > easier! > > I am newcomer to camel so please bear with me ;) > > I have the following route: >

Re: Choich() with multiple Routing EIP

2012-02-08 Thread Willem Jiang
You can try to leverage the direct enpoint to break the big route into smaller ones. Here is an example from("xxx").choice() when(...).to("direct:simple").end(). when(...).to("direct:last").end(); from("direct:simple").to("xxx"); from("direct:last").to("xxx"); On Thu Feb 9 01:33:38 2012,

Choich() with multiple Routing EIP

2012-02-08 Thread Christos Vasilakis
Hi there, first of all many thanks for your excellent work!. It really makes my life easier! I am newcomer to camel so please bear with me ;) I have the following route: from("switchyard://ServiceRRDRoute").routeId("ServiceRRDRoute") .wireTap("jms:svc_rrd_audit?