In the past, I've also used the BinaryFileMarshaler to deal with non-xml text
(comma-delimited text) coming/going to a file.

James



Gert Vanthienen wrote:
> 
> L.S,
> 
> You can write your own class that implements the FileMarshaler interface 
> (or better: extend from DefaultFileMarshaler) and override the 
> writeMessage() method.  Within this method, you can then write code to 
> output the XML message as a flat file.  You can also override the 
> getOutputName() method to determine the output file name.
> 
> Afterwards, you specify the class you've written as the marshaler using 
> the marshaler="..." attribute on the <file:sender /> element.
> 
> Regards,
> 
> Gert
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Using-File-Sender-Component%21-tf3714475s12049.html#a10614258
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to