Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 83179 invoked from network); 26 Oct 2009 11:02:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Oct 2009 11:02:16 -0000 Received: (qmail 15083 invoked by uid 500); 26 Oct 2009 11:02:16 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 15032 invoked by uid 500); 26 Oct 2009 11:02:16 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 15022 invoked by uid 500); 26 Oct 2009 11:02:16 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 15019 invoked by uid 99); 26 Oct 2009 11:02:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Oct 2009 11:02:16 +0000 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; Mon, 26 Oct 2009 11:02:14 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 54521234C046 for ; Mon, 26 Oct 2009 04:01:53 -0700 (PDT) Message-ID: <73749984.1256554913337.JavaMail.jira@brutus> Date: Mon, 26 Oct 2009 04:01:53 -0700 (PDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-2109) ID of route is not set when onException is used In-Reply-To: <1374685534.1256552512714.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-2109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54975#action_54975 ] Claus Ibsen commented on CAMEL-2109: ------------------------------------ And you want the id {{fileMapping}} to be the route id? > ID of route is not set when onException is used > ----------------------------------------------- > > Key: CAMEL-2109 > URL: https://issues.apache.org/activemq/browse/CAMEL-2109 > Project: Apache Camel > Issue Type: Bug > Affects Versions: 2.1.0 > Environment: Apache Camel 2.1-SNAPSHOT (build 20091022) , Java 1.6.0, Linux > Reporter: Patrick Klippel > > When building a route like this: > .... > public void configure() { > from("jms:fileIn?transacted=true") > .onException(UnmarshalException.class) > .handled(true) > .bean(FileProcessExceptionBean.class,"handleException") > .end() > .id("fileMapping") > .transacted() > .process(new FileProcessor()) > .to("jms:fileOut"); > } > the id is not set. When the onException-section is removed, the id is set correctly -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.