You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by oscarin43 <os...@legis.com.co> on 2017/04/21 22:23:17 UTC

CAMEL ENRICH URI ERROR

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. 
<http://camel.465427.n5.nabble.com/file/n5798078/example.png> 

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

Best regards.
Oscar.



--
View this message in context: http://camel.465427.n5.nabble.com/CAMEL-ENRICH-URI-ERROR-tp5798078.html
Sent from the Camel Development mailing list archive at Nabble.com.