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.