Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-7372

Allow users to pass in their own EntityManager through the exchange

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.12.4, 2.13.1, 2.14.0
    • camel-jpa
    • None
    • Unknown

    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.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            igarashitm Tomohisa Igarashi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: