Versions Compared

Key

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

...

The spring example is a simple refactor of the first example to show how to use the Spring approach to working with Camel. In this example we just write RouteBuilder implementations, then we write a Spring ApplicationContext XML file to configure Camel so that it auto-discovers the routes on the classpath.

To run the example we use the Camel Maven Plugin. For example from the source or binary distribution the following should work

...