I have the following route
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.
You can use the dynamic recipient list EIP to compute the endpoint uris at runtime
Where method is a method call to myBean which invokes myMethod with return a String that contains the dynamic http uri to invoke.