I suggest writing a bean that does it.
Taking the Headers with the @Headers annotation
and returning your entity object which can be persisted by the jpa
component.

regards, Achim

2011/12/15 ebinsingh <[email protected]>

> Hi All,
>
> I am trying to convert the certain (not all) Headers values available in
> Exchange to an JPA Entity and put the same in the database.
> I want to log these details in the database and am using the intercept api.
>
> Is there a way to do this (i.e convert the Exchange headers into a JPA
> Entity)
>
> Appreciate your help.
>
> Thanks & regards,
> Ebe
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/convert-Exchange-Headers-to-JPA-Entity-tp5077846p5077846.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>

Reply via email to