throw new IllegalArgumentException(this + " bufferSize must be > 0");
}
this.maxBufferSize = bufferSize;
this.minBufferSize = bufferSize / 2;
buffer = new BasicPriorityLinkedList(10);
isConnectionConsumer = isCC;
this.ackMode = ackMode;
this.sessionDelegate = sess;
this.consumerDelegate = cons;
this.consumerID = consumerID;