use of org.apache.synapse.transport.netty.config.SourceConfiguration in project wso2-synapse by wso2.
the class Axis2HttpTransportListener method init.
@Override
public void init(ConfigurationContext configurationContext, TransportInDescription transportInDescription) throws AxisFault {
Scheme scheme = initScheme();
this.transportInDescription = transportInDescription;
// build source configuration
sourceConfiguration = new SourceConfiguration(configurationContext, transportInDescription, scheme, messagingHandlers);
sourceConfiguration.build();
sourceConfiguration.getHttpGetRequestProcessor().init(sourceConfiguration.getConfigurationContext());
ListenerConfiguration listenerConfiguration = initListenerConfiguration();
httpWsConnectorFactory = new DefaultHttpWsConnectorFactory();
this.serverConnector = httpWsConnectorFactory.createServerConnector(new ServerBootstrapConfiguration(new HashMap<>()), listenerConfiguration);
}
Aggregations