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.