Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

You can also use the ANT style for inclusion and exclusion, as mentioned above in the <packageScan> documentation.

Include Page
CAMEL:how do i import routes from other xml filesCAMEL:
how do i import routes from other xml files

...

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.

...