Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 55B50200D20 for ; Tue, 17 Oct 2017 12:34:32 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 528461609EB; Tue, 17 Oct 2017 10:34:32 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9081B1609DE for ; Tue, 17 Oct 2017 12:34:31 +0200 (CEST) Received: (qmail 99093 invoked by uid 500); 17 Oct 2017 10:34:30 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 99082 invoked by uid 99); 17 Oct 2017 10:34:30 -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; Tue, 17 Oct 2017 10:34:30 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 9CB75DFAB2; Tue, 17 Oct 2017 10:34:29 +0000 (UTC) From: mtaylor To: dev@activemq.apache.org Reply-To: dev@activemq.apache.org References: In-Reply-To: Subject: [GitHub] activemq-artemis issue #1576: ARTEMIS-1447 JDBC NodeManager to support JDBC ... Content-Type: text/plain Message-Id: <20171017103429.9CB75DFAB2@git1-us-west.apache.org> Date: Tue, 17 Oct 2017 10:34:29 +0000 (UTC) archived-at: Tue, 17 Oct 2017 10:34:32 -0000 Github user mtaylor commented on the issue: https://github.com/apache/activemq-artemis/pull/1576 @franz1981 Yes, I meant using a generic connection pool implementations as they reset the connection on release for isolation across components sharing the same pool. I understand that reconnect is not part of the spec, but it's such a fundamental piece of functionality I'd be surprised if it wasn't already handled in drivers for all our supported DBs. I'm not against the idea of using a connection pool (I responded to the comment and missed the fact that you'd implemented your own pool). This is all good, but is it required for this JIRA? It's more complexity that may not be required. For what you're trying to achieve a generic pool would probably suffice. How about doing something simple for stage 1 to get the HA functionality working. We can optimise when required. I would suggest, getting the basic stuff in commit 1, and optimisations in subsequent commits (could be the same PR) but makes it a lot easier to review and track down issues later. ---