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] [Assigned] (CAMEL-6593) Predicates from java dsl are not dumped to xml correctly
Date Fri, 23 Aug 2013 07:06:52 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-6593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen reassigned CAMEL-6593:
----------------------------------

    Assignee: Claus Ibsen
    
> 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
>            Assignee: Claus Ibsen
>
> 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