Versions Compared

Key

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

...

  • the Camel routes are defined in Java via src/main/java/org/apache/servicemix/samples/MyRouteBuilder.java. This actually defines a pretty trivial route; which just creates a timer so that every second a message is sent to a log endpoint (to log to the console) so its easy to see the Camel route working inside ServiceMix
  • the Service Unit is configured via the Spring src/main/resources/camel-context.xml, in particular the <package> element points to the org.apache.servicemix.samples package so that MyRouteBuilder will be enabled by default.