195196197198199200201202203204205
throw new DataStoreFullException("Cannot store message : queue is full : "+getName()); } if (locks != null) { targetStore.lock(newHandle); locks.add(newHandle, targetStore.getDeliveryMode(), this); } } sentToQueueCount++;