...
You can also use the ANT style for inclusion and exclusion, as mentioned above in the <packageScan>
documentation.
Include Page | ||||
---|---|---|---|---|
|
...
Wiki Markup |
---|
{snippet:id=example|lang=xml|url=camel/trunk/components/camel-jms/src/test/resources/org/apache/camel/component/jms/jmsRouteUsingSpring.xml} |
...
Which allows you to configure a component using some name (activemq in the above example), then you can refer to the component using *activemq:\[queue:\|topic:\]destinationName*. This works by the SpringCamelContext lazily fetching components from the spring context for the scheme name you use for [Endpoint] [URIs].
For more detail see Configuring Endpoints and Components.
...