This content has been marked as final.
Show 2 replies
-
1. Re: Importing routes from another file or camel context
davsclaus Sep 15, 2010 5:11 AM (in response to lekkie_lomotayo)Yeah you can have routes in XML files and load them into objects. And have those added to CamelContext.
See the XmlParseTest unit test from camel-core
-
2. Re: Importing routes from another file or camel context
lekkie_lomotayo Sep 15, 2010 11:57 AM (in response to davsclaus)Thanks. This is quite informative.
However, I have a few more questions.
Can I reference any of the imported routes from a route defined i my camel context?
e.g
trace.xml
Will this work?
Also, if I want to import bean into my camel application, is there something similar?