Return-Path: Delivered-To: apmail-incubator-uima-dev-archive@locus.apache.org Received: (qmail 18035 invoked from network); 21 Oct 2008 15:00:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Oct 2008 15:00:45 -0000 Received: (qmail 1384 invoked by uid 500); 21 Oct 2008 15:00:39 -0000 Delivered-To: apmail-incubator-uima-dev-archive@incubator.apache.org Received: (qmail 1318 invoked by uid 500); 21 Oct 2008 15:00:38 -0000 Mailing-List: contact uima-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: uima-dev@incubator.apache.org Delivered-To: mailing list uima-dev@incubator.apache.org Received: (qmail 1280 invoked by uid 99); 21 Oct 2008 15:00:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2008 08:00:38 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2008 14:59:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 67BAA234C228 for ; Tue, 21 Oct 2008 07:59:44 -0700 (PDT) Message-ID: <2023038588.1224601184423.JavaMail.jira@brutus> Date: Tue, 21 Oct 2008 07:59:44 -0700 (PDT) From: "Jerry Cwiklik (JIRA)" To: uima-dev@incubator.apache.org Subject: [jira] Updated: (UIMA-844) Add connection recovery for temp queues in the JMS Listener object In-Reply-To: <596146375.1204654540730.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/UIMA-844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jerry Cwiklik updated UIMA-844: ------------------------------- Attachment: uimaj-as-jms-UIMA-844-patch.txt uimaj-as-core-UIMA-844-patch.txt uimaj-as-activemq-UIMA-844-patch.txt Added support to recover a lost connection to a remote temp queue. If a connection to a temp queue is lost, a listener to the queue is stopped and an endpoint to a remote delegate is marked as failed. Before sending a CAS to the delegate, the code checks the state of the Endpoint. If the state=FAILED, a new temp queue for replies is created along with a new listener for that queue. Once the listener is successfully created and initialized the CAS is sent to the remote delegate. The outgoing message will contain a new replyTo temp queue. Removed hard-coded retry logic from JmsEndpointConnection_impl. This logic tried to to auto-recover lost connection 10 times. Retries are now subject to error handling and thresholds defined in the deployment descriptor for each delegate. Reduced Spring recovery delay from 60000ms to 5ms. When a connection fails, Spring notifies UIMA-As listener code immediately instead of waiting for 60000ms. > Add connection recovery for temp queues in the JMS Listener object > ------------------------------------------------------------------ > > Key: UIMA-844 > URL: https://issues.apache.org/jira/browse/UIMA-844 > Project: UIMA > Issue Type: Improvement > Components: Async Scaleout > Affects Versions: 2.2.1 > Reporter: Jerry Cwiklik > Attachments: uimaj-as-activemq-UIMA-844-patch.txt, uimaj-as-core-UIMA-844-patch.txt, uimaj-as-jms-UIMA-844-patch.txt > > > When a connection to a temp queue is broken, the JMS listener is not set up to recover it. Part of the recovery should be a creation of a new queue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.