camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SaurabhNayar <>
Subject Re: entity manager is injected as null in a camel bean but jpa: endpoint works fine
Date Tue, 05 Jan 2016 21:18:43 GMT
The EntityManager will not automatically join the transaction by using
@Transactional annotation.

You will have to write your transaction management code - and make entity
manager participate in the transaction. Kind of beats the purpose of using
Camel - if you have to take all that pain.

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message