You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/04/24 13:53:04 UTC

[jira] [Comment Edited] (CAMEL-11195) Enrich Element uri error

    [ https://issues.apache.org/jira/browse/CAMEL-11195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15981175#comment-15981175 ] 

Claus Ibsen edited comment on CAMEL-11195 at 4/24/17 1:52 PM:
--------------------------------------------------------------

Use the user forum or ask on the vendor of that product, eg Red Hat / JBoss

For general Apache Camel use the user forum
http://camel.apache.org/discussion-forums.html

For JBoss Fuse you can get help here
https://developers.redhat.com/products/fuse/help/


was (Author: davsclaus):
Use the user forum or ask on the vendor of that product, eg Red Hat / JBoss

> Enrich Element uri error 
> -------------------------
>
>                 Key: CAMEL-11195
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11195
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.15.6, 2.18.3
>         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="http://www.springframework.org/schema/beans"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
> <camelContext id="_camelContext1" xmlns="http://camel.apache.org/schema/spring">
> <route id="_route5">
> <from id="_from1" uri="file:work/cbr/input"/>
> <to id="_to1" uri="log:output"/>
> <to id="_to2" uri="direct:Process"/>
> </route>
> <route id="_route1">
> <from id="_from2" uri="direct:Process"/>
> <enrich uri="direct:resource" strategyRef="aggregationStrategy"/>
> <to uri="direct:result"/>
> </route>
> <route id="_route2">
> <from id="_from3" uri="direct:resource"/>
> <process id="reportProcess" ref="processDataProcessor"/>
> <to id="_to4" uri="log:output"/>
> </route>
> <route id="_route3">
> <from id="_from4" uri="direct:result"/>
> <to id="_to5" uri="log:output"/>
> <to id="_to6" uri="file:work/cbr/output"/>
> </route>
> </camelContext>
> </beans>
> i have used CAMEL 2.18 and camel 2.15.
> with camel 2.18 this code is not working
> <enrich strategyRef="aggregationStrategy">
> <constant>direct:resource</constant>
> </enrich>
> 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
(v6.3.15#6346)