camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bilgin Ibryam <bibr...@gmail.com>
Subject Re: Using a jpa endpoint with no entityClassName
Date Thu, 18 Jul 2013 19:21:57 GMT
Hi Martin,

just use dummy class name (like jpa://foo ) and make sure the message body
contains one or many entity instances

Bilgin




On 18 July 2013 16:37, fordm <ford.j.martin@gmail.com> wrote:

> 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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message