Return-Path: Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: (qmail 9413 invoked from network); 28 Mar 2011 02:43:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Mar 2011 02:43:04 -0000 Received: (qmail 1049 invoked by uid 500); 28 Mar 2011 02:43:03 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 1010 invoked by uid 500); 28 Mar 2011 02:43:03 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 1003 invoked by uid 99); 28 Mar 2011 02:43:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Mar 2011 02:43:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Mar 2011 02:43:00 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B1B8023889E5; Mon, 28 Mar 2011 02:42:38 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1086102 - /cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/continuations/JMSContinuation.java Date: Mon, 28 Mar 2011 02:42:38 -0000 To: commits@cxf.apache.org From: ningjiang@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110328024238.B1B8023889E5@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ningjiang Date: Mon Mar 28 02:42:38 2011 New Revision: 1086102 URL: http://svn.apache.org/viewvc?rev=1086102&view=rev Log: CXF-3426 CXF JMSContinuation leaks threads Modified: cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/continuations/JMSContinuation.java Modified: cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/continuations/JMSContinuation.java URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/continuations/JMSContinuation.java?rev=1086102&r1=1086101&r2=1086102&view=diff ============================================================================== --- cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/continuations/JMSContinuation.java (original) +++ cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/continuations/JMSContinuation.java Mon Mar 28 02:42:38 2011 @@ -133,6 +133,7 @@ public class JMSContinuation implements public void run() { synchronized (JMSContinuation.this) { if (isPending) { + cancelTimerTask(); doResume(); } }