mirror of https://github.com/apache/activemq.git
added a better example of using Camel with the correct XSD
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@565705 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
54c8eeb842
commit
141ee12e8d
|
@ -99,12 +99,12 @@
|
||||||
**
|
**
|
||||||
** http://activemq.apache.org/enterprise-integration-patterns.html
|
** http://activemq.apache.org/enterprise-integration-patterns.html
|
||||||
-->
|
-->
|
||||||
<camelContext id="camel" xmlns="http://activemq.apache.org/camel/schema/spring" packages="org.foo.bar">
|
<camelContext id="camel" xmlns="http://activemq.apache.org/camel/schema/spring">
|
||||||
<!--
|
|
||||||
Create EIP routes here using Spring if we like; otherwise Camel will pick up all routes defined
|
|
||||||
in the package named 'org.foo.bar' or any of its child packages
|
|
||||||
-->
|
|
||||||
|
|
||||||
|
<!-- You can use a <package> element for each root package to search for Java routes -->
|
||||||
|
<package>org.foo.bar</package>
|
||||||
|
|
||||||
|
<!-- You can use Spring XML syntax to define the routes here using the <route> element -->
|
||||||
<route>
|
<route>
|
||||||
<from uri="activemq:example.A"/>
|
<from uri="activemq:example.A"/>
|
||||||
<to uri="activemq:example.B"/>
|
<to uri="activemq:example.B"/>
|
||||||
|
|
Loading…
Reference in New Issue