camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SaurabhNayar <Nayar.Saur...@gmail.com>
Subject Re: entity manager is injected as null in a camel bean but jpa: endpoint works fine
Date Mon, 04 Jan 2016 20:25:33 GMT
Be aware of the fact that the entity manager that is getting imported is a
Spring resource and may not be present in Camel Registry.

You may have tough time joining the existing Camel transactions - if you
have transactions.

Don't know your business requirements - but better to use Camel JPA
component instead of custom JPA code.



--
View this message in context: http://camel.465427.n5.nabble.com/entity-manager-is-injected-as-null-in-a-camel-bean-but-jpa-endpoint-works-fine-tp5775308p5775768.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message