I have created sample project with openjpa feature.
but when I deploy it in redhat fuse server 6.1 this bundle going to graceperiod mode.
blueprint.xml
---------------------------------------------------------
<bean id="jpa" class="org.apache.camel.component.jpa.JpaComponent">
<jpa:unit unitname="camel" property="entityManagerFactory" />
</bean>
<camelContext trace="false" id="blueprintContext"
xmlns="http://camel.apache.org/schema/blueprint">
<route id="timerToLog">
<from uri="timer:foo?period=5000" />
<to uri="jpa://com.mycompany.camel.openjpa.Order" />
<log message="The message contains ${body}" />
<to uri="mock:result" />
</route>
</camelContext>
-------------------------------------Bundle state :
[ 310] [Active ] [GracePeriod ] [ ] [ 60] A Camel Blueprint Route (1.0.0.SNAPSHOT)
----------------------------------------------------------------------------------
tried using both openjpa 2.3 and openjpa 2.2.2 with cameljpa 2.12 but no use.
Error :
------------------------------------------------------------------------------------------------------
2015-07-08 20:32:11,557 | INFO | l Console Thread | BlueprintContainerImpl | ? ? | 9 - org.apache.aries.blueprint.core - 1.0.1.redhat-610379 | Bundle com.m
ycompany.camel-openjpa is waiting for dependencies [(&(&(!(org.apache.aries.jpa.proxy.factory=*))(osgi.unit.name=camel))(objectClass=javax.persistence.EntityManagerFactory))]
2015-07-08 20:32:12,603 | INFO | #6 - timer://foo | timerToLog | ? ? | 142 - org.apache.camel.camel-core - 2.12.0.redhat-610379 | The message c
--------------------------
can someonce help resolving this issue?