Author: heshan
Date: Mon Jul  4 12:53:31 2011
New Revision: 1142646

URL: http://svn.apache.org/viewvc?rev=1142646&view=rev
Log:
Fix for SYNAPSE-782. 
Thanks Sadeep for the contribution. 

Modified:
    synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml

Modified: synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml
URL: 
http://svn.apache.org/viewvc/synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml?rev=1142646&r1=1142645&r2=1142646&view=diff
==============================================================================
--- synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml (original)
+++ synapse/trunk/java/src/site/xdoc/Synapse_Samples.xml Mon Jul  4 12:53:31 
2011
@@ -2871,7 +2871,7 @@ Transfer-Encoding: chunked
 <a name="Sample255" id="Sample255">Sample 255: Switching from ftp transport 
listener to mail transport sender</a></h2>
 <pre xml:space="preserve">&lt;definitions 
xmlns=&quot;http://ws.apache.org/ns/synapse&quot;&gt;
     &lt;proxy name=&quot;StockQuoteProxy&quot; transports=&quot;vfs&quot;&gt;
-            &lt;parameter 
name=&quot;transport.vfs.FileURI&quot;&gt;vfs:ftp://guest:guest@localhost/test?vfs.passive=true&lt;/parameter&gt;
 &lt;!--CHANGE--&gt;
+    &lt;parameter 
name=&quot;transport.vfs.FileURI&quot;&gt;vfs:ftp://username:password@localhost/home/user/test?vfs.passive=true&lt;/parameter&gt;
 &lt;!--CHANGE--&gt;
             &lt;parameter 
name=&quot;transport.vfs.ContentType&quot;&gt;text/xml&lt;/parameter&gt;
             &lt;parameter 
name=&quot;transport.vfs.FileNamePattern&quot;&gt;.*\.xml&lt;/parameter&gt;
             &lt;parameter 
name=&quot;transport.PollInterval&quot;&gt;15&lt;/parameter&gt;
@@ -2903,7 +2903,7 @@ Transfer-Encoding: chunked
 <p>Start the Axis2 server and deploy the SimpleStockQuoteService if not 
already done </p>
 <p>Enable mail transport sender in the Synapse axis2.xml. See 
 <a href="Synapse_Samples_Setup.html       #mailsender">Setting up mail 
transport sender</a> </p>
-<p>Create a new test directory in the FTP server. Open 
SYNAPSE_HOME/repository/conf/sample/synapse_sample_116.xml and edit the 
following values. Change transport.vfs.FileURI parameter value point to the 
test directory at the FTP server. Change outSequence endpoint address uri email 
address to a working email address. Values you have to change are marked with 
&lt;!--CHANGE--&gt;. </p>
+<p>Create a new test directory in the FTP server. Open 
SYNAPSE_HOME/repository/conf/sample/synapse_sample_255.xml and edit the 
following values. Change transport.vfs.FileURI parameter value point to the 
test directory at the FTP server. Change outSequence endpoint address uri email 
address to a working email address. Values you have to change are marked with 
&lt;!--CHANGE--&gt;. </p>
 <p>Start the Synapse configuration numbered 255: i.e. synapse -sample 255 </p>
 <p>Copy SYNAPSE_HOME/repository/conf/sample/resources/vfs/test.xml to the ftp 
directory given in transport.vfs.FileURI above. </p>
 <p>VFS transport listener will pick the file from the directory in the FTP 
server and send it to the Axis2 service. The file in the FTP directory will be 
deleted. The response will be sent to the given email address. </p>


Reply via email to