Ideally, Camel error handling would work with PollingConsumers when the
poll failed. For example, a bad password is provided to the mail component.
In that case I would like to invoke an endpoint.

Or, there would be an option to make the route process an empty body.

Neither are possible so I have implemented a PollingStrategy.

Ideally, rollback() would be able to invoke an endpoint. That doesn't seem
to be possible either.

When failure occurs, I need to call consumer.stop() and then remove the
route from the CamelContext. Unfortunately, I don't seem to be able to get
the routeId from rollback(). Have I overlooked something simple?


Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
groupusers @
postedMar 18, '15 at 10:57p
activeMar 19, '15 at 5:43a

2 users in discussion

Camel Guy: 1 post Claus Ibsen: 1 post



site design / logo © 2021 Grokbase