Versions Compared

Key

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

...

This mini-guide takes you through the source code of a simple example].

Camel can be configured either by using Spring or directly in Java - which this example does.

...

Wiki Markup
{snippet:id=example|lang=java|url=activemq/camel/trunk/components/camelactivemq-activemqcore/src/test/java/org/apache/activemq/camel/component/activemq/ActiveMQRouteTest.java}

In normal use, an external system would be firing messages or events directly into Camel through one if its Components but we are going to use the CamelTemplate which is a really easy way for testing your configuration:

...