Hi Another way is to define endpoints using property placeholders. And then have a .properties file per environment.
People have done that for many years with Spring. So there is plenty of docs how to do that as well. And Camel in Action chapter 6 talks about this as well. And we got some pieces of Camel wiki page as well http://camel.apache.org/using-propertyplaceholder.html http://camel.apache.org/how-do-i-use-spring-property-placeholder-with-camel-xml.html On Tue, Jan 24, 2012 at 1:14 PM, Tom Howe <tomh...@artcore.com> wrote: > I came across > http://camel.apache.org/how-do-i-import-routes-from-other-xml-files.html > It allows importing routes using <routeContext/>. Is there something > similar for Endpoints? > > I'd like to have separate files for each so that I can create tests that > use the same Endpoints but different routes without having to replicate my > Endpoints in multiple files. > > Thanks, Tom -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/