This content has been marked as final.
Show 4 replies
-
1. Re: onException(Exception.class). Can't go through full exception route.
rchallapalli Dec 9, 2011 4:54 PM (in response to isakoves)Hi,
Is this resolved??
What is your 'send_mail' consumer doing? which route is it linked to?
ravi
-
2. Re: onException(Exception.class). Can't go through full exception route.
isakoves Dec 12, 2011 4:15 AM (in response to rchallapalli)Hello! I can't resolve it.
I tried to start new route like that:
onException(Exception.class)
.useOriginalMessage()
.handled(true)
.to("direct:exception");
from("direct:exception")
.process(....)
.to("direct:send_mail")
;
But mail can't send.
-
3. Re: onException(Exception.class). Can't go through full exception route.
davsclaus Dec 12, 2011 7:53 AM (in response to isakoves)You should refer to your endpoint, so it should be by using the ref component, to refer to the endpoint.
-
4. Re: onException(Exception.class). Can't go through full exception route.
isakoves Dec 21, 2011 4:29 AM (in response to davsclaus)It works good on Windows, but it does not work on Linux.