[ https://issues.apache.org/jira/browse/CAMEL-4111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-4111. -------------------------------- Resolution: Fixed > Marshal / Unmarshal EIP - Should not support outputs in XML DSL > --------------------------------------------------------------- > > Key: CAMEL-4111 > URL: https://issues.apache.org/jira/browse/CAMEL-4111 > Project: Camel > Issue Type: Improvement > Components: camel-blueprint, camel-core, camel-spring > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Priority: Minor > Fix For: 2.8.0 > > > When using <marshal> or <unmarshal> in XML DSL, the model allows them to have > outputs, so you can in theory do: > {code:xml} > <route> > <from uri="direct:unmarshal"/> > <unmarshal> > <string charset="UTF-8"/> > <to uri="mock:unmarshal"/> > </unmarshal> > </route> > {code} > This is unusual as people should do as follows: > {code:xml} > <route> > <from uri="direct:unmarshal"/> > <unmarshal> > <string charset="UTF-8"/> > </unmarshal> > <to uri="mock:unmarshal"/> > </route> > {code} > We should fix this so they dont accept outputs. This also make code > completion much easier, as if you press ctrl + space inside the <unmarshal> > tag you only get the list of possible data formats to choose among. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira