...
org.apache.axis2.transport.local.LocalTransportSenderNonBlockingLocalTransportSender
The transport does not have a receiver implementation as of now.
...
Info | ||
---|---|---|
| ||
To use this transport, configure an endpoints with the |
Configuring a Local Transport with WSO2
...
ESB
By default WSO2 ESB will ship with CarbonLocalTransportSender/CarbonLocalTransportReceiver which will use for Carbon components internal communication and this local transport is not suitable for ESB service invocation.
To enable local transport for service invocation, follow these steps.
1. In the carbon.xml file at location <PRODUCT<ESB_HOME>/repository/conf, an endpoint is available as follows by default.
Code Block | ||
---|---|---|
| ||
<ServerURL>local://services/</ServerURL> |
Replace it with
Code Block | ||
---|---|---|
| ||
<ServerURL>https://${carbon.local.ip}:${carbon.management.port}${carbon.context}/services/</ServerURL> |
2. In the axis2.xml file at location <PRODUCT_HOME>/repository/conf/axis2/axis2.xml, there is a transport sender and receiver named 'local' specified as follows in two different places:
Code Block | ||
---|---|---|
| ||
<transportSender<transportReceiver name="local" class="org.apachewso2.carbon.axis2core.transporttransports.local.LocalTransportSenderCarbonLocalTransportReceiver"/> |
It has to be replaced with the following sender/receiver pair.
Code Block | ||
---|---|---|
| ||
<transportReceiver <transportSender name="local" class="org.wso2.carbon.core.transports.local.CarbonLocalTransportReceiverCarbonLocalTransportSender"/> |
Remove both these lines and add following line.
Code Block | ||
---|---|---|
| ||
<transportSender name="local" class="org.wso2apache.carbonaxis2.coretransport.transports.local.CarbonLocalTransportSenderNonBlockingLocalTransportSender"/> |
For more information about transports, refer to TransportsTransports.
Excerpt | ||
---|---|---|
| ||
Description of Local transport. |