This content has been marked as final.
Show 1 reply
-
1. Re: Modifying EndpointURI at runtime
davsclaus Nov 17, 2009 12:23 AM (in response to unwired)You can use the dynamic recipient list EIP to compute the endpoint uris at runtime
http://camel.apache.org/recipient-list.html
from(timer).recipientList(bean("myBean", "myMethod")).to("bean:someBean");
Where method is a method call to myBean which invokes myMethod with return a String that contains the dynamic http uri to invoke.