You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2017/04/26 17:13:36 UTC

[6/6] camel git commit: Changed log level on entity manager refresh

Changed log level on entity manager refresh


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/a8fe438c
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/a8fe438c
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/a8fe438c

Branch: refs/heads/camel-2.17.x
Commit: a8fe438c80c98a85a49b1477d45f1950ddac3eba
Parents: 6514a55
Author: James Thomas <ji...@gmail.com>
Authored: Wed Apr 26 08:13:36 2017 -0500
Committer: Claus Ibsen <da...@apache.org>
Committed: Wed Apr 26 19:10:55 2017 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/camel/component/jpa/JpaConsumer.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/a8fe438c/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/JpaConsumer.java
----------------------------------------------------------------------
diff --git a/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/JpaConsumer.java b/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/JpaConsumer.java
index 2fc750a..038ad73 100644
--- a/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/JpaConsumer.java
+++ b/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/JpaConsumer.java
@@ -154,7 +154,7 @@ public class JpaConsumer extends ScheduledBatchPollingConsumer {
         } catch (Exception e) {
             // Potentially EntityManager could be in an inconsistent state after transaction rollback,
             // so disposing it to have it recreated in next poll. cf. Java Persistence API 3.3.2 Transaction Rollback
-            LOG.info("Disposing EntityManager {} on {} due to coming transaction rollback", entityManager, this);
+            LOG.debug("Disposing EntityManager {} on {} due to coming transaction rollback", entityManager, this);
             entityManager.close();
             entityManager = null;
             throw new PersistenceException(e);