camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrii Rubtsov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-5401) Not all RoutePolicy callback methods are invoked
Date Wed, 27 Jun 2012 09:49:42 GMT
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

        

Mime
View raw message