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


cmoulliard wrote:
> 
> 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
>> 
>> 
> 
> 


-----
Enterprise Architect

Xpectis
12, route d'Esch
L-1470 Luxembourg

Phone +352 25 10 70 470
Mobile +352 621 45 36 22

e-mail : [EMAIL PROTECTED]
web site : www.xpectis.com 
-- 
View this message in context: 
http://www.nabble.com/Timer-component-%28NOT-STARTED%29-in-RouteBuilder-class-but-well-in-Spring-XML-config-file---tp18526486s22882p18528603.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to