Solved:
The problem is with XML configuration. BAM Example on the binary
distribution is wrong:
<bean id="activities" class="org.apache.camel.example.bam.MyActivities">
<property name="jpaTemplate" ref="jpaTemplate"/>
<property name="transactionTemplate" ref="transactionTemplate"/>
</bean>
instead of property it should use
<constructor-arg>
<ref bean="jpaTemplate"/>
</constructor-arg>
<constructor-arg>
<ref bean="transactionTemplate"/>
</constructor-arg>
original version calls no argument constructor while the second one calls
valid constructor which creates also process name.
--
View this message in context:
http://camel.465427.n5.nabble.com/BAM-problem-with-database-tp5071036p5116968.html
Sent from the Camel - Users mailing list archive at Nabble.com.