From commits-return-43803-archive-asf-public=cust-asf.ponee.io@qpid.apache.org Mon Feb 19 18:34:13 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id A5C55180607 for ; Mon, 19 Feb 2018 18:34:12 +0100 (CET) Received: (qmail 54940 invoked by uid 500); 19 Feb 2018 17:34:11 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 54931 invoked by uid 99); 19 Feb 2018 17:34:11 -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, 19 Feb 2018 17:34:11 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id A2185DFC25; Mon, 19 Feb 2018 17:34:11 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: orudyy@apache.org To: commits@qpid.apache.org Message-Id: <0256872d5e0744ff9031c84e6dad351e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: qpid-broker-j git commit: QPID-8091: [Broker-J] Correct transaction timeout documentation Date: Mon, 19 Feb 2018 17:34:11 +0000 (UTC) Repository: qpid-broker-j Updated Branches: refs/heads/master 3aad3e3d3 -> 2303a76e2 QPID-8091: [Broker-J] Correct transaction timeout documentation Project: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/commit/2303a76e Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/2303a76e Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/2303a76e Branch: refs/heads/master Commit: 2303a76e2cb92ef0bcf282851c9cf1db4fd2eb00 Parents: 3aad3e3 Author: Alex Rudyy Authored: Mon Feb 19 17:30:51 2018 +0000 Committer: Alex Rudyy Committed: Mon Feb 19 17:32:32 2018 +0000 ---------------------------------------------------------------------- .../runtime/Java-Broker-Runtime-Transaction-Timeout.xml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/2303a76e/doc/java-broker/src/docbkx/runtime/Java-Broker-Runtime-Transaction-Timeout.xml ---------------------------------------------------------------------- diff --git a/doc/java-broker/src/docbkx/runtime/Java-Broker-Runtime-Transaction-Timeout.xml b/doc/java-broker/src/docbkx/runtime/Java-Broker-Runtime-Transaction-Timeout.xml index f250364..421234b 100644 --- a/doc/java-broker/src/docbkx/runtime/Java-Broker-Runtime-Transaction-Timeout.xml +++ b/doc/java-broker/src/docbkx/runtime/Java-Broker-Runtime-Transaction-Timeout.xml @@ -97,15 +97,9 @@ CON-1002 : Close : Open transaction timed out It is impossible to give suggested values, due to the large variation in usage depending on the applications using a broker. However, clearly transactions should not span the expected lifetime of any client application as this would indicate a hung client. - When configuring warning and closure timeouts, it should be noted that these only apply to - message producers that are connected to the broker, but that a timeout will cause the connection - to be closed - this disconnecting all producers and consumers created on that connection. - This should not be an issue for environments using Mule or Spring, where connection - factories can be configured appropriately to manage a single MessageProducer object per JMS - Session and Connection. Clients that use the JMS API directly should be aware that sessions - managing both consumers and producers, or multiple producers, will be affected by a single - producer hanging or leaving a transaction idle or open, and closed, and must take appropriate - action to handle that scenario. + When configuring closure timeouts, it should be noted that a timeout on any producer + or consumer will cause the connection to be closed - this disconnecting all producers and consumers + created on that connection. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org For additional commands, e-mail: commits-help@qpid.apache.org