1 Reply Latest reply on Nov 17, 2009 12:23 AM by Claus Ibsen

    Modifying EndpointURI at runtime

    unwired unwired Newbie

      I have the following route

       

      from("timer://foo?fixedRate=true&period=120000").to("http://someurl?a=somedate").to("bean:somebean");

       

      somebean changes a date in a datastore somewhere.  For each timer tick the value of somedate must be changed to the new date from the datastore i.e  I want to modify the http EndpointURI at runtime.

       

      What is the best way to go about doing this.

       

       

       

      Thanks