You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/05/13 12:19:47 UTC
[jira] [Created] (CAMEL-3971) Dumping route to XML created by Java
DSL using an expression may not output the actual used expression
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
[jira] [Resolved] (CAMEL-3971) Dumping route to XML created by Java
DSL using an expression may not output the actual used expression
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-3971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-3971.
--------------------------------
Resolution: Fixed
> 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