camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-3971) Dumping route to XML created by Java DSL using an expression may not output the actual used expression
Date Fri, 13 May 2011 10:19:47 GMT
Dumping route to XML created by Java DSL using an expression may not output the actual used
expression
------------------------------------------------------------------------------------------------------

                 Key: CAMEL-3971
                 URL: https://issues.apache.org/jira/browse/CAMEL-3971
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.7.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.8.0


See this unit test
ManagedCamelContextDumpRoutesAsXmlTest

The route in Java DSL
{code}
                from("seda:bar").routeId("myOtherRoute")
                    .filter().header("bar")
                        .to("mock:bar")
                    .end();
{code}

And the output in XML
{code:xml}
  <route group="org.apache.camel.management.ManagedCamelContextDumpRoutesAsXmlTest$1" id="myOtherRoute">
        <from uri="seda:bar"/>
        <filter id="filter1">
            <expressionDefinition/>
            <to uri="mock:bar" id="to2"/>
        </filter>
    </route>
{code}

The same example created by Spring XML, outputs the XML correct




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message