Details
Description
Currently JpaProducer always creates its own EntityManager instance, but then if user application also creates EntityManager or receives container-managed one, each EntityManager instance has its own 1st level cache. It's nice to have JpaProducer to accept EntityManager instance from outside via message header so user application can pass it in.