I switched to a older version of spring and this issue got resolved automatically, now I use version 4.1.8
-- 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-tp5775308p5775619.html Sent from the Camel - Users mailing list archive at Nabble.com.