THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
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:
...