You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "James Thomas (JIRA)" <ji...@apache.org> on 2017/04/25 11:46:04 UTC
[jira] [Created] (CAMEL-11197) camel-jpa consumer fails to poll
after database connection is lost
James Thomas created CAMEL-11197:
------------------------------------
Summary: camel-jpa consumer fails to poll after database connection is lost
Key: CAMEL-11197
URL: https://issues.apache.org/jira/browse/CAMEL-11197
Project: Camel
Issue Type: Bug
Components: camel-jpa
Affects Versions: 2.17.1
Environment: Hibernate JPA with Tomcat Connection Pool data source
Reporter: James Thomas
Under a Hibernate JPA implementation with a Tomcat Connection pool set to test connections "on borrow", the camel-jpa consumer would poll normally until the underlying database connection was lost and then continue to report a PersistenceException at each poll.
The entityManager instance in camel-jpa needs to be closed and rebuilt in order to force a new connection to be obtained from the connection pool.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)