THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"> |
...
Code Block |
---|
xmlns:camel="http://activemqcamel.apache.org/camel/schema/spring" |
... so the declaration is:
...
Code Block | ||||
---|---|---|---|---|
| ||||
<camelContext xmlns="http://activemqcamel.apache.org/camel/schema/spring"> <package>org.apache.camel.spring.config.scan.route</package> </camelContext> |
...
Info | ||
---|---|---|
| ||
The <package> and <packageScan> will skip any classes which has already been created by Spring etc. So if you define a route builder as a spring bean tag then that class will be skipped. You can include those beans using |
Using <packageScan>
...