/**
* @see I_Queue#put(I_QueueEntry[], boolean)
*/
public void put(I_QueueEntry[] queueEntries, boolean ignorePutInterceptor)
throws XmlBlasterException {
XmlBlasterException ex0 = null;
if (queueEntries == null) return;
if ((this.putListener != null) &&(!ignorePutInterceptor)) {
// Is an interceptor registered (and not bypassed) ?
if (this.putListener.putPre(queueEntries) == false)
return;
}
synchronized (this.modificationMonitor) {
String exTxt = null;
if ((exTxt=spaceLeft(queueEntries.length, /*calculateSizeInBytes(queueEntries)*/ 0L)) != null)
throw new XmlBlasterException(glob, ErrorCode.RESOURCE_OVERFLOW_QUEUE_ENTRIES, ME, exTxt);
if (getNumOfBytes_() > getMaxNumOfBytes()) {
throw new XmlBlasterException(glob, ErrorCode.RESOURCE_OVERFLOW_QUEUE_BYTES, ME, "put[]: the maximum number of bytes reached." +
" Number of bytes=" + this.numOfBytes + " maxmimum number of bytes=" + getMaxNumOfBytes() + " status: " + this.toXml(""));
}
try {