Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can use Java Code to define your RouteBuilder implementations, then in your spring.xml you can specify the Java package names to search for (recursively) to find your routes such as in the following example.

Wiki Markup
{snippet:id=example|lang=xml|url=activemq/camel/trunk/camel-spring/src/test/resources/org/apache/camel/spring/camel_context_factory_bean_test.xml}

...

You can use Spring 2.0 XML configuration to specify your Xml Configuration for Routes such as in the following example.

Wiki Markup
{snippet:id=example|lang=xml|url=activemq/camel/trunk/camel-spring/src/test/resources/org/apache/camel/spring/routingUsingCamelContextFactoryWithNamespacesTest.xml}