camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: recipientList not working properly
Date Wed, 24 Apr 2013 14:07:06 GMT
Hi

What Camel version do you use?

And read this page for points what you can do first
http://camel.apache.org/support

On Wed, Apr 24, 2013 at 4:03 PM, Nibs <nibhajsr@gmail.com> wrote:
> Hi am trying to some validation and then xml to xslt transformation using
> recipientList.
> It was working fine when i have single route.
>
> but as my task require aggregator, splitter so i added some more
> routes,after that i got error
> :DefaultErrorHandler: (Logger.java:248) Failed delivery for exchangeId:
> 627b5bf8-ee61-4de6-b4b7-5e283b8d236b. Exhausted after delivery attempt: 1
> caught: org.apache.camel.component.file.GenericFileOperationFailedException:
> Cannot store file:
> C:\Users\kumarini\eIntegrationXml\b49d0ba1-5ec8-47c1-9704-13e828665df5
> org.apache.camel.component.file.GenericFileOperationFailedException: Cannot
> store file:
> C:\Users\kumarini\eIntegrationXml\b49d0ba1-5ec8-47c1-9704-13e828665df5
>
> my sample code is like that
>
> <route id="xmlProcessing" >
>             <from uri="direct:xmlPrcessing"/>
>  <choice>
>                 <when>
>                     <simple>${header.CamelFileNameOnly} contains
> ${properties:xml_prefix}</simple>
>                     <setHeader headerName="orgnumber">
>                         <xpath>eformular/forminfo/mottagare/text()</xpath>
>                     </setHeader>
>                     <setHeader headerName="eformname">
>                         <xpath
> resultType="String">eformular/forminfo/eformularnamn/text()</xpath>
>                     </setHeader>
>  <doTry>
>                         <process ref="testProcessor" />
>
>
>                         <setHeader headerName="xsdProcess">
>
> <simple>validator:file:C:/Users/kumarini/eIntegrationXml/xsd/ByggavillaXSD/eformular.xsd</simple>
>                         </setHeader>
>
>                         <setHeader headerName="xsltProcess">
>
> <simple>xslt:C:/Users/kumarini/eIntegrationXml/xslt/ByggVilla60Mittbygge.xslt</simple>
>                         </setHeader>
>
>                         <recipientList>
>                             <header>xsdProcess</header>
>                         </recipientList>
>
>                         <recipientList>
>                             <header>xsltProcess</header>
>                         </recipientList>
>
>  <setHeader headerName="outbox">
>
> <simple>file:C:/Users/kumarini/eIntegrationXml/${header.batchID}/${header.orgnumber}/</simple>
>
>                         </setHeader>
>                         <recipientList>
>                             <header>outbox</header>
>                         </recipientList>
>
>
> it works fine when i am using <to uri=> instead of recipientList for
> validation and xslt transformation.
>
> please help me out
>
> Thanks in advance
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/recipientList-not-working-properly-tp5731447.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message