Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 923337076 for ; Mon, 24 Oct 2011 11:17:56 +0000 (UTC) Received: (qmail 78939 invoked by uid 500); 24 Oct 2011 11:17:56 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 78838 invoked by uid 500); 24 Oct 2011 11:17:55 -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 78830 invoked by uid 99); 24 Oct 2011 11:17:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Oct 2011 11:17:55 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Oct 2011 11:17:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 16ED2318E55 for ; Mon, 24 Oct 2011 11:15:32 +0000 (UTC) Date: Mon, 24 Oct 2011 11:15:32 +0000 (UTC) From: "Shanth Arockia (Commented) (JIRA)" To: dev@activemq.apache.org Message-ID: <555338464.8219.1319454932095.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <601698821.9869.1319015530567.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AMQ-3549) PooledConnectionFactory issue together with Spring "best efforts" transaction strategy. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AMQ-3549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133980#comment-13133980 ] Shanth Arockia commented on AMQ-3549: ------------------------------------- I have unit tests but very much coupled with our code base. Will isolate the test and will provide you soon. > PooledConnectionFactory issue together with Spring "best efforts" transaction strategy. > --------------------------------------------------------------------------------------- > > Key: AMQ-3549 > URL: https://issues.apache.org/jira/browse/AMQ-3549 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.1.0 > Reporter: Shanth Arockia > > PooledConnectionFactory issue together with Spring "best efforts" transaction strategy. Spring 2.0 already supports synchronized local JMS transactions in that style. > For example if we use a Spring JMSTemplate with the spring synchronized local JMS transactions. We get into a problem where the session and hence connections are getting closed. > I have narrowed down and found that the implementation of org.apache.activemq.pool.ConnectionPool.expiredCheck() is not correct in such a usage. > I have also looked at the latest version of ActiveMQ as well and the implementation has some bug fixes but it would still not solve the > scenario if its used together with the Spring synchronized local JMS transactions. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira