You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Alessandro Da Rugna <al...@gmail.com> on 2016/11/22 10:27:10 UTC

Content Enricher example is wrong

Hello,
I noticed that in the page http://camel.apache.org/mailing-lists.html
Spring DSL example for Camel 2.16 has invalid XML:
[quote]
The same example in the Spring DSL (Camel 2.16 or newer)

<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
  <route>
    <from uri="direct:start"/>
    <enrich strategyRef="aggregationStrategy">
      <constant>direct:resource</constant>
    <to uri="direct:result"/>
  </route>
  <route>
    <from uri="direct:resource"/>
    ...
  </route>
</camelContext>
[/quote]

<enrich> tag is not closed.

I can't edit from Confluence wiki, so letting you know here in the mailing list.

Cheers.

-- 
  Alessandro Da Rugna

Re: Content Enricher example is wrong

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Thanks I have updated the wiki page

On Tue, Nov 22, 2016 at 11:27 AM, Alessandro Da Rugna
<al...@gmail.com> wrote:
> Hello,
> I noticed that in the page http://camel.apache.org/mailing-lists.html
> Spring DSL example for Camel 2.16 has invalid XML:
> [quote]
> The same example in the Spring DSL (Camel 2.16 or newer)
>
> <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
>   <route>
>     <from uri="direct:start"/>
>     <enrich strategyRef="aggregationStrategy">
>       <constant>direct:resource</constant>
>     <to uri="direct:result"/>
>   </route>
>   <route>
>     <from uri="direct:resource"/>
>     ...
>   </route>
> </camelContext>
> [/quote]
>
> <enrich> tag is not closed.
>
> I can't edit from Confluence wiki, so letting you know here in the mailing list.
>
> Cheers.
>
> --
>   Alessandro Da Rugna



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2