How to append to an existing file with WSO2 ESB (VFS) -
i'm writing single file wso2 esb using vfs endpoint. override file each time. how can configure endpoint append content? or feature exist?
<insequence> <log level="full"/>type="string"/> <property name="transport.vfs.replyfilename" expression="myoutputfile.txt" scope="transport" type="string"/> <send> <endpoint> <address uri="vfs:file://c:/myoutputdirectory"/> </endpoint> </send> </insequence>
(my content text/plain)
in order append same file, define transport.vfs.append=true parameter file address uri[1]
<address uri="vfs:file://c:/myoutputdirectory?transport.vfs.append=true"/>
Comments
Post a Comment