camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-7572) Using custom id in CBR will output id duplicated when dumping route as XML using JMX
Date Thu, 03 Jul 2014 06:24:25 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-7572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14051113#comment-14051113
] 

Claus Ibsen commented on CAMEL-7572:
------------------------------------

Notice that <otherwise> has id = myChoice also

> Using custom id in CBR will output id duplicated when dumping route as XML using JMX
> ------------------------------------------------------------------------------------
>
>                 Key: CAMEL-7572
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7572
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core, jmx
>    Affects Versions: 2.13.1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.12.5, 2.13.3, 2.14.0
>
>
> If setting a custom id on a CBR then the dump route as xml JMX operation will include
the id duplicated in the otherwise tag
> {code}
> <routes xmlns="http://camel.apache.org/schema/spring">
>     <route id="route1">
>         <from uri="file:src/data?noop=true"/>
>         <to uri="activemq:personnel.records" customId="true" id="amq"/>
>     </route>
>     <route id="route2">
>         <from uri="activemq:personnel.records"/>
>         <choice customId="true" id="myChoice">
>             <when id="when1">
>                 <xpath>/person/city = 'London'</xpath>
>                 <to uri="file:target/messages/uk" id="to1"/>
>             </when>
>             <otherwise customId="true" id="myChoice">
>                 <to uri="file:target/messages/others" id="to2"/>
>             </otherwise>
>         </choice>
>     </route>
> </routes>
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message