Hi,

The URI format for a jpa endpoint is:

jpa:[entityClassName][?options]

and according to  Apache Camel:JPA <http://camel.apache.org/jpa.html>  , for
sending to the endpoint, the entityClassName is optional.

So I would expect the following route to successfully persist a message
(that contains a known entity):

<route>
    <from uri="activemq:my-queue" />
    <to uri="jpa:" />
</route>

Can someone tell me what I'm missing please?

Thanks


Martin



--
View this message in context: 
http://camel.465427.n5.nabble.com/Using-a-jpa-endpoint-with-no-entityClassName-tp5735854.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to