camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oscar Mauricio Cadena (JIRA)" <>
Subject [jira] [Created] (CAMEL-11195) Enrich Element uri error
Date Mon, 24 Apr 2017 13:41:04 GMT
Oscar Mauricio Cadena created CAMEL-11195:

             Summary: Enrich Element uri error 
                 Key: CAMEL-11195
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.18.3, 2.15.6
         Environment: Jboss develper studio 10.0.3
            Reporter: Oscar Mauricio Cadena

Hi Clauss. Please I need some help with the same topic.
I have four days with this problem. I need to make a basic enrich example but when i run the
basic example always i getting the same error in the log console Attribute 'uri' is not allowed
to appear in element 'enrich'
this is my code
<beans xmlns=""
xmlns:xsi="" xsi:schemaLocation="">
<camelContext id="_camelContext1" xmlns="">
<route id="_route5">
<from id="_from1" uri="file:work/cbr/input"/>
<to id="_to1" uri="log:output"/>
<to id="_to2" uri="direct:Process"/>
<route id="_route1">
<from id="_from2" uri="direct:Process"/>
<enrich uri="direct:resource" strategyRef="aggregationStrategy"/>
<to uri="direct:result"/>
<route id="_route2">
<from id="_from3" uri="direct:resource"/>
<process id="reportProcess" ref="processDataProcessor"/>
<to id="_to4" uri="log:output"/>
<route id="_route3">
<from id="_from4" uri="direct:result"/>
<to id="_to5" uri="log:output"/>
<to id="_to6" uri="file:work/cbr/output"/>
i have used CAMEL 2.18 and camel 2.15.
with camel 2.18 this code is not working
<enrich strategyRef="aggregationStrategy">
the Jboss developer studio tell me that constant is not a nested element. and thorws and error
in the xml.
and if i use 2.18 with this code
<enrich uri="direct:resource" strategyRef="aggregationStrategy"/>
it told me that the expression is a mandatory field. it shows a warning
i tryied the same with the 2.15 but with the same results.
Im using fuse server 6.3. im new with this so i appreciate any help.

This message was sent by Atlassian JIRA

View raw message