...
What this does is boot up the Spring ApplicationContext defined in the file META-INF/spring/camelContext.xml on the classpath. This is a regular Spring XML document which uses the Camel Xml Configuration to configure a CamelContext.
Also note at the end of this XML example file we explicitly configure the ActiveMQ component with details of how to connect to the broker.
...
Wiki Markup |
---|
{snippet:id=example|lang=xml|url=activemq/camel/trunk/examples/camel-example-spring-xquery/src/main/resources/META-INF/spring/camelContext.xml} |