Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 51139 invoked from network); 25 Apr 2007 08:34:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Apr 2007 08:34:36 -0000 Received: (qmail 45032 invoked by uid 500); 25 Apr 2007 08:34:43 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 45015 invoked by uid 500); 25 Apr 2007 08:34:43 -0000 Mailing-List: contact cxf-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-issues@incubator.apache.org Received: (qmail 45006 invoked by uid 99); 25 Apr 2007 08:34:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2007 01:34:43 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2007 01:34:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 067C0714062 for ; Wed, 25 Apr 2007 01:34:16 -0700 (PDT) Message-ID: <13285694.1177490056023.JavaMail.jira@brutus> Date: Wed, 25 Apr 2007 01:34:16 -0700 (PDT) From: "Bozhong Lin (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Updated: (CXF-180) JMS Transport support for transaction In-Reply-To: <13790244.1161825076562.JavaMail.root@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/CXF-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bozhong Lin updated CXF-180: ---------------------------- Fix Version/s: (was: 2.0) 2.1 Affects Version/s: (was: 2.0) 2.1 > JMS Transport support for transaction > ------------------------------------- > > Key: CXF-180 > URL: https://issues.apache.org/jira/browse/CXF-180 > Project: CXF > Issue Type: New Feature > Components: Transports > Affects Versions: 2.1 > Reporter: willem Jiang > Fix For: 2.1 > > > Here are some points on the JMS Transport stuff: > [ulhas] > Currently JMS Session pool in Artix uses different Message Receiver > acknowledgement mechanism than Celtix to provide Transaction support. > (Celtix uses AUTO_ACKNOWLEDGEMENT) whereas Artix uses CLIENT_ACKNOWLEDGE > for server side. > [Willem] > AUTO_ACKNOWLEDGMENT just make sure JMS broker client > received the message, but not sure about the client had processed the message. > If we want to support the Transaction in CXF, I think we need to change to > CLIENT_ACKNOWLEDGE to make sure the message had been processed in > message level. > [ulhas] > Second part of the transaction support is in current JMSServerTransport > postDispatch code. This is the place where the server make sure that the > message received can be processed and it is safe to send the > Acknowledgement to JMS broker to remove the message from topic/queue and > commit. > [Willem] > In current CXF JMS Transport implementation the transport just provide an channel > to send and receive messages. All the message handling stuff need to play with the > Stream. I think it is a good place in the OutputStream close method to send > acknowledgment to JMS broker. > So if we want to support local transaction in CXF JMS, we just need change the Session > acknowledgment and the OutputStream close method. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.