Camel JPA - No Persistence provider for EntityManager named camel

2014-01-25 Thread Sebarry
Hi, I am trying to get the following code to work so I can consume from a JPA entity. String DATASOURCE_CONTEXT = "java:jboss/datasources/WikiDS"; Connection result = null; DataSource datasource = null; try { Context initialContext = n

JpaConsumer - failed polling endpoint

2014-01-31 Thread Sebarry
Hi, I'm getting the following error trying to poll a JPA entity Person. There's no error in the code. Everything compiles ok with a mvn clean install and the Person entity does exist in the net.lr.tutorial.karaf.camel.jpa2jms.model package. I have installed all the necessary features I believe and