Search in sources :

Example 1 with TargetConfiguration

use of org.apache.synapse.transport.netty.config.TargetConfiguration in project wso2-synapse by wso2.

the class Axis2HttpTransportSender method init.

@Override
public void init(ConfigurationContext configurationContext, TransportOutDescription transportOutDescription) throws AxisFault {
    httpWsConnectorFactory = new DefaultHttpWsConnectorFactory();
    connectionManager = HttpUtils.getConnectionManager();
    bootstrapConfiguration = new BootstrapConfiguration(new HashMap<>());
    targetConfiguration = new TargetConfiguration(configurationContext, transportOutDescription);
    targetConfiguration.build();
}
Also used : TargetConfiguration(org.apache.synapse.transport.netty.config.TargetConfiguration) DefaultHttpWsConnectorFactory(org.wso2.transport.http.netty.contractimpl.DefaultHttpWsConnectorFactory) HashMap(java.util.HashMap) BootstrapConfiguration(org.wso2.transport.http.netty.contractimpl.sender.channel.BootstrapConfiguration)

Aggregations

HashMap (java.util.HashMap)1 TargetConfiguration (org.apache.synapse.transport.netty.config.TargetConfiguration)1 DefaultHttpWsConnectorFactory (org.wso2.transport.http.netty.contractimpl.DefaultHttpWsConnectorFactory)1 BootstrapConfiguration (org.wso2.transport.http.netty.contractimpl.sender.channel.BootstrapConfiguration)1