Author: saliya Date: Tue Jun 30 22:32:19 2009 New Revision: 40460 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=40460
Log: Fixed sample setup guide to include enabling mail transport listener Modified: trunk/esb/java/docs/xdoc/samples/transport_samples.xml trunk/esb/java/docs/xdoc/samples_setup_guide.xml Modified: trunk/esb/java/docs/xdoc/samples/transport_samples.xml URL: http://wso2.org/svn/browse/wso2/trunk/esb/java/docs/xdoc/samples/transport_samples.xml?rev=40460&r1=40459&r2=40460&view=diff ============================================================================== --- trunk/esb/java/docs/xdoc/samples/transport_samples.xml (original) +++ trunk/esb/java/docs/xdoc/samples/transport_samples.xml Tue Jun 30 22:32:19 2009 @@ -607,10 +607,14 @@ <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 +<p>Enable mail transport sender in the ESB axis2.xml. See <a href="../samples_setup_guide.html#mailsender">Setting up mail transport sender</a> </p> +<p>Enable mail transport receiver in the ESB axis2.xml. See <a +href="../samples_setup_guide.html#mailreceiver">Setting up mail transport listener</a> +</p> + <p>Start the Synapse configuration numbered 256: i.e. wso2esb-samples -sn 256 </p> Modified: trunk/esb/java/docs/xdoc/samples_setup_guide.xml URL: http://wso2.org/svn/browse/wso2/trunk/esb/java/docs/xdoc/samples_setup_guide.xml?rev=40460&r1=40459&r2=40460&view=diff ============================================================================== --- trunk/esb/java/docs/xdoc/samples_setup_guide.xml (original) +++ trunk/esb/java/docs/xdoc/samples_setup_guide.xml Tue Jun 30 22:32:19 2009 @@ -70,7 +70,8 @@ <li><a href="#config">Starting Sample ESB Configurations</a> </li> <li><a href="#Setting">Setting up the JMS Listener</a> </li> <li><a href="#mailsender">Setting up Mail Transport Sender</a> </li> - <li><a href="#script">Configuring the ESB for Script Mediator Support</a> + <li><a href="#mailreceiver">Setting up Mail Transport Receiver</a> </li> + <li><a href="#script">Configuring the ESB for Script Mediator Support</a> <ul> <li><a href="#JavaScript">JavaScript Support</a> </li> <li><a href="#Ruby">Ruby Support</a> </li> @@ -379,9 +380,9 @@ <h2 id="mailsender">Setting up Mail Transport Sender </h2> -<p>To enable the mail transport for samples, you need to uncomment the mail +<p>To enable the mail transport sender for samples, you need to uncomment the mail transport sender configuration in the conf/axis2.xml. -Uncomment the MailTransportSender sample configuration and make sure it +Uncomment the mail transport sender sample configuration and make sure it points to a valid SMTP configuration for any actual scenarios. </p> <pre xml:space="preserve"> <transportSender name="mailto" class="org.apache.synapse.transport.mail.MailTransportSender"> @@ -394,6 +395,16 @@ <parameter name="mail.smtp.from">[email protected]</parameter> </transportSender></pre> +<h2 id="mailreceiver">Setting up Mail Transport Receiver </h2> + +<p>To enable the mail transport receiver for samples, you need to uncomment the mail +transport receiver configuration in the conf/axis2.xml. +Uncomment the mail transport receiver sample configuration. Note: you need to provide +correct parameters for a valid mail account at service level.</p> + +<pre xml:space="preserve"> <transportReceiver name="mailto" class="org.apache.axis2.transport.mail.MailTransportListener"> + </transportReceiver></pre> + <h2 id="fixtransport"> Configuring WSO2 ESB for the FIX Transport </h2> _______________________________________________ Esb-java-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
