// No space left for this message in the target store
if (targetStore == volatileStore && persistentStore != null)
{
// Fallback to persistent store if possible
targetStore = persistentStore;
newHandle = targetStore.store(message);
}
// Cannot store the message anywhere
if (newHandle == -1)
throw new DataStoreFullException("Cannot store message : queue is full : "+getName());