camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bilgin Ibryam (Updated) (JIRA)" <>
Subject [jira] [Updated] (CAMEL-4715) Add Route start/stop/suspend/resume callback to RoutePolicy
Date Thu, 01 Dec 2011 22:24:40 GMT


Bilgin Ibryam updated CAMEL-4715:

    Attachment: routePolicy.diff

While testing suspendRoute/resumeRoute callback, I noticed that resumeRoute is not called,
because the route is first started and then not resumed.
I did a fix for it in DefaultCamelContext and cannot see any side effects, but a second look
would be good.
> Add Route start/stop/suspend/resume callback to RoutePolicy
> -----------------------------------------------------------
>                 Key: CAMEL-4715
>                 URL:
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Bilgin Ibryam
>            Priority: Minor
>         Attachments: routePolicy.diff
> We have onInit, and onRemove callbacks on RoutePolicy.
> We should consider having the fine grained callbacks for start|stop|suspend|resume, so
end users have callbacks, and can do any custom code they may need to react accordingly to
the changed state of the route.
> This requires API changes in the RoutePolicy API, so we should not backport this.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message