camel-users mailing list archives

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

Hi 

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



Cheers
Guru



--
View this message in context: http://camel.465427.n5.nabble.com/File-reading-and-writing-issue-tp4553224p4553224.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message