camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Keen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-6593) Predicates from java dsl are not dumped to xml correctly
Date Wed, 31 Jul 2013 11:47:48 GMT

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

David Keen commented on CAMEL-6593:
-----------------------------------

Also seems to affect setting properties. Eg:
{code}
.setProperty("foo").constant("bar")
{code}

Gets dumped with an empty expressionDefinition tag as well.
                
> Predicates from java dsl are not dumped to xml correctly
> --------------------------------------------------------
>
>                 Key: CAMEL-6593
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6593
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.11.1
>            Reporter: David Keen
>
> Predicates defined in the java dsl are not dumped to xml when using jmx.
> Eg, this java dsl route:
> {code}
> from("seda:a").choice().when(header("test").isNotNull()).log("not null").end().to("mock:a");
> {code}
> Will be dumped as this:
> {code}
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <route group="com.example.TestRoute" id="route1" xmlns="http://camel.apache.org/schema/spring">
>     <from uri="seda:a"/>
>     <choice id="choice23">
>         <when id="when24">
>             <expressionDefinition/>
>             <log message="not null" id="log20"/>
>         </when>
>     </choice>
>     <to uri="mock:a" id="to17"/>
> </route>
> {code}
> The <expressionDefinition> element should contain the expression.
> This seems similar to CAMEL-4733.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message