Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 39997 invoked from network); 10 Oct 2008 07:08:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Oct 2008 07:08:13 -0000 Received: (qmail 61213 invoked by uid 500); 10 Oct 2008 07:08:12 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 61189 invoked by uid 500); 10 Oct 2008 07:08:12 -0000 Mailing-List: contact camel-dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-dev@activemq.apache.org Received: (qmail 61178 invoked by uid 99); 10 Oct 2008 07:08:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Oct 2008 00:08:12 -0700 X-ASF-Spam-Status: No, hits=-1999.9 required=10.0 tests=ALL_TRUSTED,DNS_FROM_SECURITYSAGE 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; Fri, 10 Oct 2008 07:07:16 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 93B18234C218 for ; Fri, 10 Oct 2008 00:07:52 -0700 (PDT) Message-ID: <927341682.1223622472590.JavaMail.jira@brutus> Date: Fri, 10 Oct 2008 00:07:52 -0700 (PDT) From: "Markus Wolf (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-961) Reporting exceptions back to the jms requester in in-out exchange style In-Reply-To: <1633714424.1223281912590.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/activemq/browse/CAMEL-961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46319#action_46319 ] Markus Wolf commented on CAMEL-961: ----------------------------------- Oh, thats already discussed in the related bugs... > Reporting exceptions back to the jms requester in in-out exchange style > ----------------------------------------------------------------------- > > Key: CAMEL-961 > URL: https://issues.apache.org/activemq/browse/CAMEL-961 > Project: Apache Camel > Issue Type: Improvement > Components: camel-jms > Affects Versions: 1.4.0 > Reporter: Markus Wolf > Assignee: Hadrian Zbarcea > Attachments: camel-test.tar.gz > > > We tried to setup a route where some exceptions where caught by the dead letter queue for retry and some exceptions where reported back to the jms message requester in an in-out exchange style request. > There are two problems with this. > First: The dead letter queue is an all or nothing handler. There is currently no way to give some excludes to the handled exceptions. > Second: Exceptions are not serialized and returned by the jms listener on reponse, but instead a camel runtime exception is logged and the jms request thread gets a timeout. > In the attached example the IOException should be returned to the jms:someQueue endpoint as answer to the request. All other exceptions should be handled by the dead letter queue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.