You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Resolved) (JIRA)" <ji...@apache.org> on 2011/11/26 11:37:39 UTC

[jira] [Resolved] (CAMEL-4514) Add Route shutdown callback to RoutePolicy

     [ https://issues.apache.org/jira/browse/CAMEL-4514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-4514.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.9.0
         Assignee: Bilgin Ibryam

Bilgin, thanks for the patch.

This is an API change so we cannot backport.
                
> 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
>            Assignee: Bilgin Ibryam
>             Fix For: 2.9.0
>
>         Attachments: onRemove.diff
>
>
> 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