camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Babak Vahdat <babak.vah...@swissonline.ch>
Subject Re: newbie question re LifecycleManagementStrategy
Date Fri, 13 Apr 2012 13:00:01 GMT
Hi

You could look at [1] to see how easily you can add routes from XML, and
check the commit log at the bottom of that link for some examples.

You could also add routes dynamically at runtime [2] using Camel's JMX
ManagedCamelContext MBean.

[1] http://camel.apache.org/loading-routes-from-xml-files.html
[2]
http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/management/mbean/ManagedCamelContext.html#addOrUpdateRoutesFromXml(java.lang.String)

Babak

--
View this message in context: http://camel.465427.n5.nabble.com/newbie-question-re-LifecycleManagementStrategy-tp5638024p5638219.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message