Called when the mailbox this queue belongs to is disposed of.
Try to dequeue the next message from this queue, return null failing that.
Deserializes an array of Bytes that were serialized using the DurableMessageSerialization.serialize method, into an Envelope.
Try to enqueue the message to this queue, or throw an exception.
Indicates whether this queue is non-empty.
Should return the current number of messages held in this queue; may always return 0 if no other value is available efficiently.
Completely delete the queue.
Serializes the given Envelope into an Array of Bytes using an efficient serialization/deserialization strategy