Skip to main content

Posts

Showing posts from March, 2018

How to enable wire log in WSO2 ESB

The passthrough HTTP transport is the main transport, which handles HTTP/HTTPS messages in WSO2 ESB.  Un-comment the following entry in the  <ESB_HOME/repository/conf/log4j.properties  file to enable wire logs for the passthrough HTTP transport:  log4j.logger.org.apache.synapse.transport.http.wire=DEBUG Then restart the server

Sending an email using WSO2 Gmail Connector

The Gmail connector allows you to access the Gmail REST API through WSO2 ESB  and send an Email . Gmail  is a free, Web-based e-mail service provided by Google.  First download the Gmail Connector from  WSO2 store . And Start the WSO2 ESB server using below steps. download the ESB runtime ZIP file , and then extract the ZIP file. The path to this folder will be referred to as  <ESB_HOME>  throughout the post. Navigate to the  <PRODUCT_HOME>/bin/  directory using the Command Prompt. To start the server in a typical environment: On Windows:   wso2server.bat --run On Linux/Mac OS:   sh wso2server.sh To start the server in the background mode of Linux:  sh wso2server.sh start To stop the server running in this mode, you will enter:  sh wso2server.sh stop now go to https://localhost:9443/carbon and log into the management console using  username admin and password admin Step 1 :  Now go to  Home -> Manage -> Connectors -> Add.  Upl