I finally found an error.
When
getContext().addInterceptorStrategy(new Tracer());
is added in the RouteBuilder, then the timer does not work. I will create a defect in JIRA.
Regards,
Charles Moulliard
Forget what I wrote. it works now.
remark : it's time for me to go to holidays ;)
cmoulliard wrote:
Hi,
I'm confronted to a strange problem. The following route works well in Spring XML configuration file but not in a RouteBuilder class ?
RouteBuilder class
from("timer://export")
.to("bean:myBean");
Remark : when ENABLE is activated in log.4j, I see that the component is registered by Camel
<route>
<from uri="timer://export" />
<to uri="bean:myBean" />
</route>
Regards,
Charles Moulliard