See my comment [1] added to the issue [2]. I cannot see a credible usecase 
where this feature would be helpful which is not already covered by other camel 
features.
@James, care to explain more?

Hadrian

[1] 
https://issues.apache.org/jira/browse/CAMEL-913?focusedCommentId=12984023&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12984023
[2] https://issues.apache.org/jira/browse/CAMEL-913


On Jan 19, 2011, at 8:47 PM, Tracy Snell wrote:

> I implemented CAMEL-913 in the timer component by adding a Producer and an 
> additional parameter to the endpoint. Time for a sanity check before I submit 
> the patch.
> 
> New parameter:
> sendTo - The endpoint to send the incoming Exchange to when the timer fires. 
> 
> Both value may be set in the URI and/or in the incoming message headers.
> 
> For now it only supports a one time event not a repeating timer.
> 
> sendTo and delay may be set in the Headers of the incoming message using 
> "TimerSendTo" and "TimerDelay"
> 
> 2 Questions.
> 
> 1 - Does sendTo make sense for the name?
> 2 - Where should I put constants for those 2 header values? Create a 
> TimerConstants or some other location?
> 
> from("direct:start")
>  .to("timer://myTimerName?delay=1000&sendTo=mock:result");

Reply via email to