Re: OnException across camelcontext not called when using direct-vm

2016-10-26 Thread Santhosh
Thanks for your help. Sent from my iPhone > On Oct 26, 2016, at 4:04 PM, Santhosh [via Camel] > wrote: > > Ok That solves the problem. > > If you reply to this email, your message will be added to the discussion > below: > http://camel.465427.n5.nabble.com/OnException-across-camelcontext-n

Re: OnException across camelcontext not called when using direct-vm

2016-10-26 Thread Santhosh
Ok That solves the problem. -- View this message in context: http://camel.465427.n5.nabble.com/OnException-across-camelcontext-not-called-when-using-direct-vm-tp5789237p5789309.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: OnException across camelcontext not called when using direct-vm

2016-10-25 Thread Quinn Stevenson
I see there isn’t any exception handling in context2, but the default error handler is still there - have you tried setting the error handler on the context to “No Error Handler”? (http://camel.apache.org/error-handler.html ) > On Oct 25, 2016, at 7:3

Re: OnException across camelcontext not called when using direct-vm

2016-10-25 Thread Santhosh
There is no exception handling in route2, it just throws the exception. I see exception in the log, thrown by route2. But context1 never get those exception. If I use nmr route, then everything works fine. Thanks Santhosh -- View this message in context: http://camel.465427.n5.nabble.com/OnEx

Re: OnException across camelcontext not called when using direct-vm

2016-10-25 Thread Quinn Stevenson
Have you tried disabling error handling on context2? > On Oct 25, 2016, at 12:37 PM, Santhosh wrote: > > I have multiple context, and I use direct-vm to call route in another > context. If there any exception, direct-vm is not passing that exception > correctly to the parent/source route. If I