The problem got resolved after adding the below lines.
<bean id="jpa" class="org.apache.camel.component.jpa.JpaComponent">
<property name="entityManagerFactory"
ref="entityManagerFactory"/>
<property name="transactionManager" ref="transactionManager"/>
</bean>-- View this message in context: http://camel.465427.n5.nabble.com/Camel-JPA-component-caching-problem-tp5772507p5772640.html Sent from the Camel - Users mailing list archive at Nabble.com.
