Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Objective: Using the Mail transport with Proxy Services.

Prerequisites
  • You will need access an e-mail account.
  • Start the Axis2 server and deploy the SimpleStockQuoteService if not already done.
  • Enable mail transport listener in the ESB axis2.xml. Simply uncomment the relevant transport receiver entry in the file.
  • Enable mail transport sender in the ESB axis2.xml. See Setting up mail transport sender.
  • Enable mail transport receiver in the ESB axis2.xml. See Setting up mail transport listener.
  • Start the Synapse configuration numbered 256: wso2esb-samples.sh -sn 256.
  • Send a plain/text e-mail with the following body and any custom Subject from your mail account.

    Code Block
    themeEclipse
    languagehtml/xml
    <m0:getQuote xmlns:m0="http://services.samples">
    	<m0:request>
    		<m0:symbol>IBM</m0:symbol>
    	</m0:request>
    </m0:getQuote>
    
  • After a few seconds (for example 30 seconds), you should receive a POX response in your e-mail account with the stock quote reply.

...