You can write a processor (implements Processor), and in the
process(Exchange exchange) method you select the headers, and populate
the out message with the value/format that you need to fit your JPA entity.
Regards
JB
On 12/15/2011 04:43 PM, ebinsingh wrote:
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.
--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com