Hello,

we are running our camel routes (camel 2.0.0) in an OSGi server,
each time a route is deployed we get the following
warning:

[2010-01-06 11:32:35.494] server-dm-7 org.apache.camel.spring.CamelContextFactoryBean.unknown W Using a packages element to specify packages to search has been deprecated. Please use a packageScan element instead.

And here is the declaration in the camel-context.xml:

 <camelContext xmlns="http://camel.apache.org/schema/osgi";>
       <camel:package>dk.infopaq.messaging.xxx</camel:package>
   </camelContext>

How must it be to avoid the warning ?

Jörn

Reply via email to