You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Serge Smertin (JIRA)" <ji...@apache.org> on 2014/09/05 20:31:29 UTC
[jira] [Commented] (CAMEL-2109) ID of route is not set when
onException is used
[ https://issues.apache.org/jira/browse/CAMEL-2109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14123331#comment-14123331 ]
Serge Smertin commented on CAMEL-2109:
--------------------------------------
Found out related things in CAMEL-7786
> ID of route is not set when onException is used
> -----------------------------------------------
>
> Key: CAMEL-2109
> URL: https://issues.apache.org/jira/browse/CAMEL-2109
> Project: 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
> Assignee: Claus Ibsen
> Fix For: 2.1.0
>
>
> When building a route like this:
> {code}
> ....
> 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");
> }
> {code}
> the id is not set. When the onException-section is removed, the id is set correctly
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)