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"><definitions
xmlns="http://ws.apache.org/ns/synapse">
<proxy name="StockQuoteProxy" transports="vfs">
- <parameter
name="transport.vfs.FileURI">vfs:ftp://guest:guest@localhost/test?vfs.passive=true</parameter>
<!--CHANGE-->
+ <parameter
name="transport.vfs.FileURI">vfs:ftp://username:password@localhost/home/user/test?vfs.passive=true</parameter>
<!--CHANGE-->
<parameter
name="transport.vfs.ContentType">text/xml</parameter>
<parameter
name="transport.vfs.FileNamePattern">.*\.xml</parameter>
<parameter
name="transport.PollInterval">15</parameter>
@@ -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
<!--CHANGE-->. </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
<!--CHANGE-->. </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>