use of org.apache.synapse.transport.passthru.util.BufferFactory in project wso2-synapse by wso2.
the class BaseConfiguration method build.
public void build() throws AxisFault {
iOBufferSize = conf.getIOBufferSize();
if (workerPool == null) {
workerPool = WorkerPoolFactory.getWorkerPool(conf.getWorkerPoolCoreSize(), conf.getWorkerPoolMaxSize(), conf.getWorkerThreadKeepaliveSec(), conf.getWorkerPoolQueueLen(), PASSTHROUGH_THREAD_GROUP, PASSTHROUGH_THREAD_ID);
}
httpParams = buildHttpParams();
ioReactorConfig = buildIOReactorConfig();
bufferFactory = new BufferFactory(iOBufferSize, new HeapByteBufferAllocator(), 512);
}
Aggregations