You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrii Rubtsov (JIRA)" <ji...@apache.org> on 2012/06/27 11:49:42 UTC
[jira] [Created] (CAMEL-5401) Not all RoutePolicy callback methods
are invoked
Andrii Rubtsov created CAMEL-5401:
-------------------------------------
Summary: Not all RoutePolicy callback methods are invoked
Key: CAMEL-5401
URL: https://issues.apache.org/jira/browse/CAMEL-5401
Project: Camel
Issue Type: Bug
Components: camel-core
Affects Versions: 2.9.2
Environment: Win 7 x64, jdk 7u4
Reporter: Andrii Rubtsov
I am looking for a way to get notified when route is being stopped/started (resumed/suspended). I have implemented trivial logging _RoutePolicy_ (extending from _RoutePolicySupport_). However, during my tests I found that only _onInit_, _onExchangeBegin_ and _onExchangeDone_ methods are invoked. I tried both approaches - stopping/starting and suspending/resuming, but neither one worked.
Route state is being handled from another thread using "CamelContext.*Route" methods group.
I am using SpringCamelApplicationContext. Route is configured using: _routePolicyRef_ attribute of _route_ tag.
I am fairly new to Camel. Let me know if I am missing something. Thanks.
--
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
[jira] [Resolved] (CAMEL-5401) Not all RoutePolicy callback methods
are invoked
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-5401.
--------------------------------
Resolution: Fixed
> Not all RoutePolicy callback methods are invoked
> ------------------------------------------------
>
> Key: CAMEL-5401
> URL: https://issues.apache.org/jira/browse/CAMEL-5401
> Project: Camel
> Issue Type: Bug
> Components: camel-core, camel-spring
> Affects Versions: 2.9.2, 2.10.0
> Environment: Win 7 x64, jdk 7u4
> Reporter: Andrii Rubtsov
> Assignee: Claus Ibsen
> Fix For: 2.9.3, 2.10.1
>
>
> I am looking for a way to get notified when route is being stopped/started (resumed/suspended). I have implemented trivial logging _RoutePolicy_ (extending from _RoutePolicySupport_). However, during my tests I found that only _onInit_, _onExchangeBegin_ and _onExchangeDone_ methods are invoked. I tried both approaches - stopping/starting and suspending/resuming, but neither one worked.
> Route state is being handled from another thread using "CamelContext.*Route" methods group.
> I am using SpringCamelApplicationContext. Route is configured using: _routePolicyRef_ attribute of _route_ tag.
> I am fairly new to Camel. Let me know if I am missing something. Thanks.
--
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
[jira] [Updated] (CAMEL-5401) Not all RoutePolicy callback methods
are invoked
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-5401:
-------------------------------
Affects Version/s: 2.10.0
> Not all RoutePolicy callback methods are invoked
> ------------------------------------------------
>
> Key: CAMEL-5401
> URL: https://issues.apache.org/jira/browse/CAMEL-5401
> Project: Camel
> Issue Type: Bug
> Components: camel-core, camel-spring
> Affects Versions: 2.9.2, 2.10.0
> Environment: Win 7 x64, jdk 7u4
> Reporter: Andrii Rubtsov
> Assignee: Claus Ibsen
> Fix For: 2.9.3, 2.10.1
>
>
> I am looking for a way to get notified when route is being stopped/started (resumed/suspended). I have implemented trivial logging _RoutePolicy_ (extending from _RoutePolicySupport_). However, during my tests I found that only _onInit_, _onExchangeBegin_ and _onExchangeDone_ methods are invoked. I tried both approaches - stopping/starting and suspending/resuming, but neither one worked.
> Route state is being handled from another thread using "CamelContext.*Route" methods group.
> I am using SpringCamelApplicationContext. Route is configured using: _routePolicyRef_ attribute of _route_ tag.
> I am fairly new to Camel. Let me know if I am missing something. Thanks.
--
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
[jira] [Assigned] (CAMEL-5401) Not all RoutePolicy callback methods
are invoked
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-5401:
----------------------------------
Assignee: Claus Ibsen
> Not all RoutePolicy callback methods are invoked
> ------------------------------------------------
>
> Key: CAMEL-5401
> URL: https://issues.apache.org/jira/browse/CAMEL-5401
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.9.2
> Environment: Win 7 x64, jdk 7u4
> Reporter: Andrii Rubtsov
> Assignee: Claus Ibsen
>
> I am looking for a way to get notified when route is being stopped/started (resumed/suspended). I have implemented trivial logging _RoutePolicy_ (extending from _RoutePolicySupport_). However, during my tests I found that only _onInit_, _onExchangeBegin_ and _onExchangeDone_ methods are invoked. I tried both approaches - stopping/starting and suspending/resuming, but neither one worked.
> Route state is being handled from another thread using "CamelContext.*Route" methods group.
> I am using SpringCamelApplicationContext. Route is configured using: _routePolicyRef_ attribute of _route_ tag.
> I am fairly new to Camel. Let me know if I am missing something. Thanks.
--
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
[jira] [Updated] (CAMEL-5401) Not all RoutePolicy callback methods
are invoked
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-5401:
-------------------------------
Component/s: camel-spring
> Not all RoutePolicy callback methods are invoked
> ------------------------------------------------
>
> Key: CAMEL-5401
> URL: https://issues.apache.org/jira/browse/CAMEL-5401
> Project: Camel
> Issue Type: Bug
> Components: camel-core, camel-spring
> Affects Versions: 2.9.2, 2.10.0
> Environment: Win 7 x64, jdk 7u4
> Reporter: Andrii Rubtsov
> Assignee: Claus Ibsen
> Fix For: 2.9.3, 2.10.1
>
>
> I am looking for a way to get notified when route is being stopped/started (resumed/suspended). I have implemented trivial logging _RoutePolicy_ (extending from _RoutePolicySupport_). However, during my tests I found that only _onInit_, _onExchangeBegin_ and _onExchangeDone_ methods are invoked. I tried both approaches - stopping/starting and suspending/resuming, but neither one worked.
> Route state is being handled from another thread using "CamelContext.*Route" methods group.
> I am using SpringCamelApplicationContext. Route is configured using: _routePolicyRef_ attribute of _route_ tag.
> I am fairly new to Camel. Let me know if I am missing something. Thanks.
--
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
[jira] [Commented] (CAMEL-5401) Not all RoutePolicy callback
methods are invoked
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13403781#comment-13403781 ]
Claus Ibsen commented on CAMEL-5401:
------------------------------------
Thanks for reporting.
Yeah I just spotted a bug with the routePolicyRef not invoking certain callbacks.
It works in Java DSL though, so its an issue when using the routePolicyRef as you would do in Spring XML.
> Not all RoutePolicy callback methods are invoked
> ------------------------------------------------
>
> Key: CAMEL-5401
> URL: https://issues.apache.org/jira/browse/CAMEL-5401
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.9.2
> Environment: Win 7 x64, jdk 7u4
> Reporter: Andrii Rubtsov
> Assignee: Claus Ibsen
>
> I am looking for a way to get notified when route is being stopped/started (resumed/suspended). I have implemented trivial logging _RoutePolicy_ (extending from _RoutePolicySupport_). However, during my tests I found that only _onInit_, _onExchangeBegin_ and _onExchangeDone_ methods are invoked. I tried both approaches - stopping/starting and suspending/resuming, but neither one worked.
> Route state is being handled from another thread using "CamelContext.*Route" methods group.
> I am using SpringCamelApplicationContext. Route is configured using: _routePolicyRef_ attribute of _route_ tag.
> I am fairly new to Camel. Let me know if I am missing something. Thanks.
--
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
[jira] [Updated] (CAMEL-5401) Not all RoutePolicy callback methods
are invoked
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-5401:
-------------------------------
Fix Version/s: 2.10.1
2.9.3
> Not all RoutePolicy callback methods are invoked
> ------------------------------------------------
>
> Key: CAMEL-5401
> URL: https://issues.apache.org/jira/browse/CAMEL-5401
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.9.2
> Environment: Win 7 x64, jdk 7u4
> Reporter: Andrii Rubtsov
> Assignee: Claus Ibsen
> Fix For: 2.9.3, 2.10.1
>
>
> I am looking for a way to get notified when route is being stopped/started (resumed/suspended). I have implemented trivial logging _RoutePolicy_ (extending from _RoutePolicySupport_). However, during my tests I found that only _onInit_, _onExchangeBegin_ and _onExchangeDone_ methods are invoked. I tried both approaches - stopping/starting and suspending/resuming, but neither one worked.
> Route state is being handled from another thread using "CamelContext.*Route" methods group.
> I am using SpringCamelApplicationContext. Route is configured using: _routePolicyRef_ attribute of _route_ tag.
> I am fairly new to Camel. Let me know if I am missing something. Thanks.
--
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