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

Allow users to pass in their own EntityManager through the exchange

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.12.4, 2.13.1, 2.14.0
    • Component/s: camel-jpa
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: