On Mon, Oct 12, 2015 at 12:35 PM, Joakim Bjørnstad <joak...@gmail.com>
wrote:
>
> Well right now it doesn't seem possible in that order, which is
> unfortunate.
>
> Maybe you can consider changing the order in your exception handling?
> Since you want to mark the failed exchange handled anyways.
> Wiretap new exchange fire and forget to other endpoint. Then call
> someBean with the handled exchange?
>
> onException(NullPointerException.class)
>   .handled(true)
>   .wireTap("someUri")
>   .newExchange(exchange -> {
>
>   })
>   .end()
>   .bean("someBean");
>
> If this isn't functionally equivalent, I'd suggest logging a ticket on
> the Camel JIRA.
>

Thanks a lot!  This is not ideal, and I need to test this some more, but it
seems to work for now.

Henrik

Reply via email to