camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gnanaguru S <>
Subject File reading and writing issue
Date Tue, 05 Jul 2011 13:20:49 GMT


This code was successful.  

<from uri="file://inputdir/"/>
<to uri="activemq:queue:inputQueue"/>

But here , when i place a xml file in inputdirectory, it is moving out of
that folder !. I want it just to copied or the to be just read and move to
the queue.

Also from the output queue, i want the contents to be written in a peculiar
file namely: output.xml. 
( " <from uri="activemq:queue:outputQueue"/>
                 <to uri="file://outputdir/"/> " )

Since tried with this code, it didnt worked ( <to
uri="file:target?fileName=output.xmll"/> )

Kindly help me out


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message