Please check out this link[1] for more information. [1]http://camel.apache.org/loading-routes-from-xml-files.html
-- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Sunday, August 18, 2013 at 10:32 PM, Ernest Lu wrote: > hi > If I have a DSL like this : > > <route id="cool"> > <from uri="direct:start"/> > <to uri="mock:result"/> > </route> > > how do i parse the DSL which is stored in an external file to generate a > route,then add it into the context. > > Best Regards > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/how-do-i-parse-a-DSL-tp5737481.html > Sent from the Camel - Users mailing list archive at Nabble.com > (http://Nabble.com).