Hi

Do you want to call a http endpoint also?

Then do a

from timer
  to http
  bean

Also if nothing happens, are you sure the JVM keeps running? eg see
http://camel.apache.org/running-camel-standalone-and-have-it-keep-running.html

On Tue, Sep 23, 2014 at 2:51 PM, Stiefel, Daniel
<[email protected]> wrote:
> I have a camel route defined in applicationcontext.
> I try to start this rout with a timer so that it should start every 10 
> seconds.
>
> But nothing happen:
>
>              <route id="myTimestampWriterRoute">
>                     <from
>                            
> uri="timer://http://localhost:8080/**Path**/time/getcurrenttime/?period=10000";
>  />
>                     <bean ref="controllerTimestamp" 
> method="writeTimestampToDB" />
>              </route>
>
> Im i doing it right with that mailing List?
>
> regards
> Daniel



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to