camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-4514) Add Route shutdown callback to RoutePolicy
Date Sat, 26 Nov 2011 10:37:39 GMT

     [ 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

        

Mime
View raw message