Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
RoutePolicy currently supports the following callbacks as of 2.8.x:
onExchangeBegin(Route route, Exchange exchange)
onExchangeDone(Route route, Exchange exchange)
onInit(Route route)
If Routes have any cleanup tasks that need to be associated with the removal of a Route from a CamelContext, an onRemove(Route route) callback would be very helpful and it seems that RoutePolicy is the appropriate place to add this capability.
Attachments
Attachments
Issue Links
- is blocked by
-
CAMEL-4696 When a route is removed from camel, LifecycleStrategy is called twice
- Resolved
- is related to
-
CAMEL-4715 Add Route start/stop/suspend/resume callback to RoutePolicy
- Resolved