i've resolve adding the camel-jpa.jar to Camel SU :D
Hamlet84 wrote:
>
> in the camel-su i have a test component as follow
>
> public class Prova extends RouteBuilder {
> public void configure() throws Exception {
> this.from("jbi:service:http://icar.unibas.it/FreESBee/CamelProva")
> .convertBodyTo(PersonDocument.class)
> .to("jpa:it.unibas.icar.freesbee.dao.CustomerEntity");
> }
> }
>
> The PersonDocument and CustomerEntity class are the same of the
> camel-example-etl.
> Now, when i deploy this component, ServiceMix doesn't works.. I have the
> follow error
>
> org.apache.camel.RuntimeCamelException:
> org.apache.camel.NoSuchEndpointException: No endpoint could be found for:
> jpa:it.unibas.icar.freesbee.dao.CustomerEntity</loc-message>
> <stack-trace><![CDATA[org.apache.xbean.kernel.ServiceRegistrationException:
> org.apache.camel.RuntimeCamelException:
> org.apache.camel.NoSuchEndpointException: No endpoint could be found for:
> jpa:it.unibas.icar.freesbee.dao.CustomerEntity
>
>
> there are some problem with jpa component of camel and servicemix??
>
>
--
View this message in context:
http://www.nabble.com/Using-JPA-in-ServiceMix-%2B-Camel-tf4811001s22882.html#a13879254
Sent from the Camel - Users mailing list archive at Nabble.com.