// the MINA default is currently to use the pooled allocator although this may change in future
// once more testing of the performance of the simple allocator has been done
if (!Boolean.getBoolean("amqj.enablePooledAllocator"))
{
_logger.info("Using SimpleByteBufferAllocator");
ByteBuffer.setAllocator(new SimpleByteBufferAllocator());
}
final IoConnector ioConnector = _socketConnectorFactory.newSocketConnector();
SocketConnectorConfig cfg = (SocketConnectorConfig) ioConnector.getDefaultConfig();