anchor.diff:  -javaagent:<path_to_your_local_m2_cache>/org/apache/openjpa/openjpa/2.2.1/openjpa-2.2.1.jar
   -------------------------------------------------------------------------------------------
   
  -Then it will all become green again
  -image:https://cwiki.apache.org/confluence/s/en_GB/5982/f2b47fb3d636c8bc9fd0b11c0ec6d0ae18646be7.1/_/images/icons/emoticons/smile.png[(smile)]
  +
   
   ### See Also
   
  -* link:configuring-camel.html[Configuring Camel]
  -* link:component.html[Component]
  -* link:endpoint.html[Endpoint]
  -* link:getting-started.html[Getting Started]
  -
  -* link:tracer-example.html[Tracer Example]
  +* link:http://camel.apache.org/configuring-camel.html[Configuring Camel]
  +* link:http://camel.apache.org/component.html[Component]
  +* link:http://camel.apache.org/endpoint.html[Endpoint]
  +* link:http://camel.apache.org/getting-started.html[Getting Started]
  +
  +* link:http://camel.apache.org/tracer-example.html[Tracer Example]
  
positive.code:     at org.apache.camel.test.junit4.CamelTestSupport.setUp(CamelTestSupport.java:208)
  --------------------------------------------------------------------------------------------------------------------------------------------------------
  
  The problem here is that the source has been compiled/recompiled through
  your IDE and not through Maven itself which would
  https://svn.apache.org/repos/asf/camel/trunk/components/camel-jpa/pom.xml[enhance
  the byte-code at build time]. To overcome this you would need to enable
  http://openjpa.apache.org/entity-enhancement.html#dynamic-enhancement[dynamic
  byte-code enhancement of OpenJPA]. As an example assuming the current
  OpenJPA version being used in Camel itself is 2.2.1, then as running the
  tests inside your favorite IDE you would need to pass the following
  argument to the JVM:
  
  [source,java]
  
negative.code: 
  ### Example
  
  See link:http://camel.apache.org/tracer-example.html[Tracer Example] for an example using
  link:jpa.html[JPA] to store traced messages into a database.
  
  ### Using the JPA-Based Idempotent Repository
  
  The Idempotent Consumer from the http://camel.apache.org/enterprise-integration-patterns.html[EIP patterns] is used to filter out duplicate messages. A JPA-based idempotent repository is provided.
  
  To use the JPA based idempotent repository.
  
  .Procedure
  
  . Set up a `persistence-unit` in the persistence.xml file:
  
  . Set up a `org.springframework.orm.jpa.JpaTemplate`
  which is used by the
  `org.apache.camel.processor.idempotent.jpa.JpaMessageIdRepository`:
  
  . Configure the error formatting macro: snippet: java.lang.IndexOutOfBoundsException:
  Index: 20, Size: 20
  
  . Configure the idempotent repository:
  `org.apache.camel.processor.idempotent.jpa.JpaMessageIdRepository`:
  
  . Create the JPA idempotent repository in the Spring XML file:
  
  [source,xml]
  ---------------------------------------------------------------
  