camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Anstey (JIRA)" <>
Subject [jira] Commented: (CAMEL-195) support convertBody() intercept() setHeader() into the XML DSL
Date Wed, 09 Apr 2008 13:23:32 GMT


Jonathan Anstey commented on CAMEL-195:

Hmmm... yeah, I believe this is a side effect of me extending from the ExpressionNode in the
SetHeaderType JAXB object. From the schema, it appears though that the child processor is
optional, so you should be able to safely omit it. Also, the underlying SetHeaderProcessor
does not require it. See the following snippet from
  <xs:complexType name="expressionNode">
      <xs:extension base="tns:processorType">
          <xs:element ref="tns:interceptor" maxOccurs="unbounded" minOccurs="0"/>
          <xs:choice maxOccurs="1" minOccurs="1">
            <xs:element ref="tns:el"/>
            <xs:element ref="tns:xpath"/>
            <xs:element ref="tns:xquery"/>
          <xs:choice maxOccurs="unbounded" minOccurs="0">
            <xs:element ref="tns:aggregator"/>
            <xs:element ref="tns:to"/>
            <xs:element ref="tns:try"/>

> support convertBody() intercept() setHeader() into the XML DSL
> --------------------------------------------------------------
>                 Key: CAMEL-195
>                 URL:
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: James Strachan
>            Assignee: Jonathan Anstey
>             Fix For: 1.4.0
>         Attachments: camel-195.patch
> See the discussion: :
> we need to add more of the built in Java processors to the XSD...

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message