Return-Path: X-Original-To: apmail-camel-commits-archive@www.apache.org Delivered-To: apmail-camel-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6655E18500 for ; Mon, 15 Feb 2016 18:29:09 +0000 (UTC) Received: (qmail 66640 invoked by uid 500); 15 Feb 2016 18:29:09 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 66581 invoked by uid 500); 15 Feb 2016 18:29:09 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 66572 invoked by uid 99); 15 Feb 2016 18:29:09 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2016 18:29:09 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 20AD3E0A08; Mon, 15 Feb 2016 18:29:09 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: davsclaus@apache.org To: commits@camel.apache.org Message-Id: <13fba6fa0d64471b895d04f51c552f43@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: camel git commit: CAMEL-9604: JPA endpoint should be singleton. Date: Mon, 15 Feb 2016 18:29:09 +0000 (UTC) Repository: camel Updated Branches: refs/heads/master 64a2931f7 -> 8b03c37a9 CAMEL-9604: JPA endpoint should be singleton. Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/8b03c37a Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/8b03c37a Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/8b03c37a Branch: refs/heads/master Commit: 8b03c37a91dcc9e4b5c4fe55faa696fbdb96b08d Parents: 64a2931 Author: Claus Ibsen Authored: Mon Feb 15 16:46:55 2016 +0100 Committer: Claus Ibsen Committed: Mon Feb 15 16:54:27 2016 +0100 ---------------------------------------------------------------------- .../src/main/java/org/apache/camel/component/jpa/JpaEndpoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/8b03c37a/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/JpaEndpoint.java ---------------------------------------------------------------------- diff --git a/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/JpaEndpoint.java b/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/JpaEndpoint.java index 6cd7097..fc97224 100644 --- a/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/JpaEndpoint.java +++ b/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/JpaEndpoint.java @@ -174,7 +174,7 @@ public class JpaEndpoint extends ScheduledPollEndpoint { } public boolean isSingleton() { - return false; + return true; } @Override