Hi there,
I'm wondering whether it is possible to write a component with a consumer
that synchronously processes incoming messages. What I would like to achieve
is that, if an exception occurs during the processing of the route, the
exception is propagated back to the caller rather than passed on to camel's
built in default error handler.
So if I have a route like this:
from("myComponent://in).beanRef("beanThatTrowsAnException");
...which is invoked within a transaction, and the referenced bean throws an
exception, I'd like camel to throw the exception back to the caller (i.e.
the consumer) in order to handle it there or roll back the transaction.
Is there a way of doing that or is there even a component that does
something similar so I could have a look at how it is done there?
Cheers!
Nils
--
View this message in context:
http://camel.465427.n5.nabble.com/Synchronous-consumer-tp5718500.html
Sent from the Camel - Users mailing list archive at Nabble.com.