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