RE: Selective Multicast

2011-11-25 Thread Narita Bagchi
ce() .when(header("foo").isEqualTo("one")) .to("log:org.apache.camel.DeadLetterChannel?level=error") .otherwise().to("file://d://log//camel//output2"); Regards, ~Narita From: Narita Bagchi Sent: Thursday, Nove

Selective Multicast

2011-11-24 Thread Narita Bagchi
I am completely clueless of what I am doing wrong. Below are the 2 code snippets that works. But if I need to place the processor of snippet-2 in snippet-1 it doesn't work. Please help me knowing the reason. I need to solve this urgently now. :-( Working snippet -1 from("file:inbox") .mult

RE: Selective Multicast

2011-11-23 Thread Narita Bagchi
Narita From: Daniel Baptista [daniel.bapti...@performgroup.com] Sent: Thursday, October 27, 2011 4:33 PM To: users@camel.apache.org Subject: RE: Selective Multicast Hi Narita, Sounds like you might want a recipient list. http://camel.apache.org/recipient-lis

RE: Selective Multicast

2011-10-27 Thread Daniel Baptista
: users@camel.apache.org Subject: Selective Multicast Is there a way I can selectively multicast? But I do not want to do a multicast-filter like - multicast().filter(header("foo").isEqualTo("bar")).to( "file:outbox1", "file:outbox2", "file:outbox3&

Selective Multicast

2011-10-27 Thread narita bagchi
Is there a way I can selectively multicast? But I do not want to do a multicast-filter like - multicast().filter(header("foo").isEqualTo("bar")).to( "file:outbox1", "file:outbox2", "file:outbox3"); In my case, the destinations (say outbox1, outbox2 and outbox3) are obtained dynamically. ~Narit