Add Route shutdown callback to RoutePolicy
------------------------------------------
Key: CAMEL-4514
URL: https://issues.apache.org/jira/browse/CAMEL-4514
Project: Camel
Issue Type: Improvement
Components: camel-core
Reporter: Jeff Segal
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira