[jira] Updated: (CAMEL-737) When getContext().addInterceptorStrategy(new Tracer()); is added in a RouteBuilder class, then the timer component does not work

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View in Thread


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

William Tam updated CAMEL-737:
------------------------------

    Attachment:     (was: Camel-737.patch)

> When getContext().addInterceptorStrategy(new Tracer());  is added in a RouteBuilder class, then the timer component does not work
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-737
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-737
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Charles Moulliard
>             Fix For: 1.5.0
>
>
> When
> getContext().addInterceptorStrategy(new Tracer());
> is added in a RouteBuilder Class, then the timer component does not start.
> e.g.
> public class RouteBuilder extends RouteBuilder {
>     getContext().addInterceptorStrategy(new Tracer());
>     public void configure() {
>         from("timer://export")
>         .to("bean:myBean");
>     }
> }

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

LightInTheBox - Buy quality products at wholesale price!
Need professional support or training for Apache Camel? Graphic Design by Hiram and the Nabble Forum configured by James