This content has been marked as final.
Show 1 reply
-
1. Re: Loading camel endpoint parameter from database
sekaijin Mar 8, 2012 10:39 AM (in response to lekkie_lomotayo)Yes.
I'm use blue print to define my route like this
in foo.my.package I'm define a RouteBuilder Class.
public class MyRouteBuilder extends RouteBuilder {
in configure methode you can read your conf from where you want
public void configure() {
String inUrl;
//read the config
inUrl = getConfigFor("input.url");
...
//and meke the route
from(inUrl)
...
A+JYT