Hi
Please explain, unless I misunderstand this is enough.
from("a").to("b").to("mock endpoint")
-----Original Message-----
From: Sorin Silaghi [mailto:[email protected]]
Sent: 02 March 2011 13:04
To: [email protected]
Subject: Is there any way to do onSuccesfull in Camel routes ?
Hello,
I'd like to add a route onSuccesfull to my camel route the same way I do for
onException. The workaround right now is something like:
from("a").to("b").onSuccesfullRoute().to("mock endpoint")
This works fine right now but it doesn't really look intuitive.
Thank You,
Sorin