Hi,

I'm working on an Endpoint which has a background service keeping it alive.

When this service fails, I would like the associated Exception (or a
derived Exception) to propagate to Camel so that it can be dealt with.

In the application I am working on, the behaviour in this case would
be to destroy all routes associated with this Endpoint (usually it
will be two routes).

The service keep-alive is not associated with a Camel Exchange, so I
can't see how this fits into Camel's normal Error Handling.

Is there an obvious way to achieve what I want?

Thanks,

Alex

Reply via email to