Am trying to do something like the below,

from("direct:Reg").choice().
when(header("event").contains("sign")).multicast().to("direct:b",
"direct:c")
.when(header("event").contains("login")).multicast().to("direct:b",
"direct:c");
but I can't able to use .when (second part after the first when(). can some
one please help me on this.



--
View this message in context: 
http://camel.465427.n5.nabble.com/using-when-after-Recipient-List-tp5734138.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to