Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated to match CAMEL-7126.

...

There is also a spring configuration file in src/resources/META-INF/services/camel-context.xml which defines the JPA template EntityManagerFactory and tells Camel to look in the org.apache.camel.example.bam package to find its routes.

...

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

Code Block

cd examples/camel-example-bam
mvn camel:run

If you prefer you can just run the Main directly using

Code Block

mvn compile exec:java

Failing that you can run the Main from inside your IDE if you prefer. Follow the Building instructions to create an Eclipse/IDEA project to import