Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 4805 invoked from network); 18 Jan 2009 15:57:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jan 2009 15:57:26 -0000 Received: (qmail 91817 invoked by uid 500); 18 Jan 2009 15:57:26 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 91109 invoked by uid 500); 18 Jan 2009 15:57:24 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 91100 invoked by uid 99); 18 Jan 2009 15:57:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Jan 2009 07:57:24 -0800 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; Sun, 18 Jan 2009 15:57:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 85E1F234C485 for ; Sun, 18 Jan 2009 07:56:59 -0800 (PST) Message-ID: <1859260115.1232294219536.JavaMail.jira@brutus> Date: Sun, 18 Jan 2009 07:56:59 -0800 (PST) From: "Asankha C. Perera (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Closed: (AXIS2-4213) Dead Letter Queue Based Recovery In-Reply-To: <1312713277.1232154359525.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/AXIS2-4213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Asankha C. Perera closed AXIS2-4213. ------------------------------------ Resolution: Won't Fix Assignee: Asankha C. Perera Hi Karthick The JMS transport no longer lives in the Axis2 (Kernel) codebase, but in the transports module of WS-Commons. Please check the latest code, and consider your changes accordingly thanks asankha > Dead Letter Queue Based Recovery > -------------------------------- > > Key: AXIS2-4213 > URL: https://issues.apache.org/jira/browse/AXIS2-4213 > Project: Axis 2.0 (Axis2) > Issue Type: Improvement > Components: kernel > Affects Versions: 1.3 > Reporter: Karthick Sankarachary > Assignee: Asankha C. Perera > Fix For: 1.3 > > Attachments: dead-letter-queue.patch > > > Currently, when the server receives a JMS message that cannot be delivered to a service, it simply drops it. By the same token, when the server fails to deliver a JMS message to an external service, it is lost forever. This leaves users guessing as to what was in that message and why the delivery failed. Furthermore, there is no way for them to manually retry the delivery, even if they have the know-how to correct the problem. > Typically, message brokers employ a dead letter queue, in which to store undeliverable messages. This allows users to not only track such messages, but also retry delivery of some of them. A few brokers even go to the extent of customizing the dead letter queue based on who is sending or receiving the message. This way, users can quickly identify the messages that they are specifically interested in. > Let us try to apply these concepts to Axis2. Strictly speaking, the JMS transport of Axis2 is not a JMS broker, but it does create JMS consumers and producers, which have to handle delivery failures, as you might imagine. In the event of such failures, the message should be sent to a default dead letter queue, the scope of which is system-wide. If so desired, the user may override the default location of the dead letter queue by specifying a message context property or client option. For more details, please refer to the patch that is attached here. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.