Hi,

If you run this example in OSGi container, package import missing could cause error like org .springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Cannot locate BeanDefinitionParser for element [routes]

You run this example in OSGi container, right?

If so, what kind of OSGi container you're using? If it's Servicemix/ Karaf, ensure you already installed camel feature.
Also check your example bundle, ensure it has Import-Package like
        org.apache.camel.builder
        org.apache.camel.model
        org.apache.camel.spring

Freeman

On 2011-11-30, at 下午12:39, mayank27 wrote:

Hi freeman, thanks for responding.

But the example link I posted did not have <camelContext> element outside
the <routes> element.
Also the example given in apache camel source code I downloaded from svn
didn't have the <camelContext> element in barRoute.xml file

Am I missing something?

--
View this message in context: 
http://camel.465427.n5.nabble.com/Update-camel-route-at-runtime-using-config-admin-tp4965455p5034530.html
Sent from the Camel - Users mailing list archive at Nabble.com.

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com









Reply via email to