Versions Compared

Key

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

...

The Tracer uses standard JPA configuration for setting the database. In the META-INF/persistence.xml file we setup the service unit and the database configuration as: TODO: code snippet

Wiki Markup
{snippet:id=e1|lang=xml|url=activemq/camel/trunk/examples/camel-example-tracer/src/main/resources/META-INF/persistence.xml}

What is important is to add the JpaTraceEventMessage as a class in the persistence.xml file to register our data model:

...