Hello,

This is my first go at camel but I haven't been able to get the
"consumer.onConsume" to work with a timer.
Any ideas?

Using camel 2.3 and spring

This does not cause the "consumeRecord" statement to fire -
from("timer://pollTimer?fixedRate=true&period=100000&delay=15000")

.to("ibatis:pollTable?consumer.onConsume=consumeRecord&statementType=QueryForList")
    .to("ibatis:insertRecord?statementType=Insert");

This does -
from("ibatis:pollTable?consumer.onConsume=consumeRecord&statementType=QueryForList")
    .to("ibatis:insertRecord?statementType=Insert");


Thanks,
Cory

Reply via email to