connection leak while enrich with camel-jpa
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.