CAMEL ENRICH URI ERROR

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

CAMEL ENRICH URI ERROR

oscarin43
Hello all.

I need some help with the enrich EIP.

When im using it i have seen an error like this

<route id="_route1">
            <from id="_from2" uri="direct:Process"/>
            <enrich id="_enrich1" uri="direct:resource"/>
            <to id="_to3" uri="direct:result"/>
  </route>

org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 33 in XML document from URL [bundle://296.49:0/META-INF/spring/camel-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'uri' is not allowed to appear in element 'enrich'.

So i Know that the uri and ref are the problem because it says in the release notes, so then i'm triyng.

<enrich>
          <simple></simple>
</enrich>

but i'm getting an error telling me that the simple tag is not recognized.


Please any help about it i appreciate so much.
i have four days with this.

Best regards.
Oscar.