CAMEL-10077 Removed snippet from adoc
diff --git a/camel-core/src/main/docs/file.adoc b/camel-core/src/main/docs/file.adoc
index 0236e8c..8f92976 100644
--- a/camel-core/src/main/docs/file.adoc
+++ b/camel-core/src/main/docs/file.adoc
@@ -900,14 +900,36 @@
 need to use the class
 `org.apache.camel.processor.idempotent.jpa.MessageProcessed` as model.
 
-Then we need to setup a Spring `jpaTemplate` in the spring XML file:
+[source,xml]
+---------------------------------------------------------------------------------
+<persistence-unit name="idempotentDb" transaction-type="RESOURCE_LOCAL">
+  <class>org.apache.camel.processor.idempotent.jpa.MessageProcessed</class>
+ 
+  <properties>
+    <property name="openjpa.ConnectionURL" value="jdbc:derby:target/idempotentTest;create=true"/>
+    <property name="openjpa.ConnectionDriverName" value="org.apache.derby.jdbc.EmbeddedDriver"/>
+    <property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema"/>
+    <property name="openjpa.Log" value="DefaultLevel=WARN, Tool=INFO"/>
+    <property name="openjpa.Multithreaded" value="true"/>
+  </properties>
+</persistence-unit>
+---------------------------------------------------------------------------------
 
-Error formatting macro: snippet: java.lang.IndexOutOfBoundsException:
-Index: 20, Size: 20
-
-And finally we can create our JPA idempotent repository in the spring
+Next, we can create our JPA idempotent repository in the spring
 XML file as well:
 
+[source,xml]
+---------------------------------------------------------------------------------
+<!-- we define our jpa based idempotent repository we want to use in the file consumer -->
+<bean id="jpaStore" class="org.apache.camel.processor.idempotent.jpa.JpaMessageIdRepository">
+    <!-- Here we refer to the entityManagerFactory -->
+    <constructor-arg index="0" ref="entityManagerFactory"/>
+    <!-- This 2nd parameter is the name  (= a category name).
+         You can have different repositories with different names -->
+    <constructor-arg index="1" value="FileConsumer"/>
+</bean>
+---------------------------------------------------------------------------------
+
 And yes then we just need to refer to the *jpaStore* bean in the file
 consumer endpoint using the `idempotentRepository` using the `#` syntax
 option: