final BasicSingleConsumerIntQueue queue;
if (mailboxSize < 0) {
queue = new SingleConsumerLinkedArrayIntQueue();
} else if (policy == OverflowPolicy.DISPLACE) {
queue = new CircularIntBuffer(mailboxSize, singleProducer);
} else
queue = new SingleConsumerArrayIntQueue(mailboxSize);
return new QueueIntChannel(queue, policy);
}