org.apache.qpid.server.queue
Class NoConsumersException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.qpid.AMQException
org.apache.qpid.server.RequiredDeliveryException
org.apache.qpid.server.queue.NoConsumersException
- All Implemented Interfaces:
- java.io.Serializable
public class NoConsumersException
- extends RequiredDeliveryException
Signals that no consumers exist for a message at a given point in time.
Used if a message has immediate=true and there are no consumers registered
with the queue.
- See Also:
- Serialized Form
Constructor Summary |
NoConsumersException(org.apache.qpid.framing.BasicPublishBody publishBody,
org.apache.qpid.framing.ContentHeaderBody contentHeaderBody,
java.util.List<org.apache.qpid.framing.ContentBody> contentBodies)
|
NoConsumersException(java.lang.String queue,
org.apache.qpid.framing.BasicPublishBody publishBody,
org.apache.qpid.framing.ContentHeaderBody contentHeaderBody,
java.util.List<org.apache.qpid.framing.ContentBody> contentBodies)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NoConsumersException
public NoConsumersException(java.lang.String queue,
org.apache.qpid.framing.BasicPublishBody publishBody,
org.apache.qpid.framing.ContentHeaderBody contentHeaderBody,
java.util.List<org.apache.qpid.framing.ContentBody> contentBodies)
NoConsumersException
public NoConsumersException(org.apache.qpid.framing.BasicPublishBody publishBody,
org.apache.qpid.framing.ContentHeaderBody contentHeaderBody,
java.util.List<org.apache.qpid.framing.ContentBody> contentBodies)
getReplyCode
public int getReplyCode()
- Specified by:
getReplyCode
in class RequiredDeliveryException