connection leak while enrich with camel-jpa

Solution Verified - Updated -

Issue

The connection leak occurs while enrich with camel-jpa.

<route id="get-cat-route">
  <from id="_from2" uri="direct:get-cat"/>
  <enrich cacheSize="-1" id="get-cats-from-db">
    <constant>jpa:org.mycompany.entity.Cat?namedQuery=get_all_cats</constant>
  </enrich>
</route>

Environment

  • Red Hat Fuse
    • 7.10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content