Re: Programmatic vs URI based endpoint definition

2013-09-02 Thread James Strachan
On 2 September 2013 21:52, Tom Ellis wrote: > Hi All, > > I asked this on stackoverflow [1] and didn't get a response, but this > is obviously a better spot to get questions answered. > > Consider the following: > > public class MyRouteBuilder extends RouteBuilder { > > @Override > public void

Programmatic vs URI based endpoint definition

2013-09-02 Thread Tom Ellis
Hi All, I asked this on stackoverflow [1] and didn't get a response, but this is obviously a better spot to get questions answered. Consider the following: public class MyRouteBuilder extends RouteBuilder { @Override public void configure() throws Exception { FileEndpoint dropLocation