Hi,

    Sorry but it seems I didn't think things through. I just realized
my problem comes from another hack. We're using processors for stuff
like logging (to a DB) instead of camel components. That's why we need
the "mock endpoint" when we should be using some logging endpoint.


Thank's that was a really fast reply and sorry again,

Sorin.


On Wed, Mar 2, 2011 at 1:07 PM, Taariq Levack <[email protected]> wrote:
> 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
>

Reply via email to