org.objectweb.joram.mom.amqp.marshalling
Class AMQP.Queue.Delete
java.lang.Object
org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
org.objectweb.joram.mom.amqp.marshalling.AMQP.Queue.Delete
- All Implemented Interfaces:
- FrameBuilder
- Enclosing class:
- AMQP.Queue
public static class AMQP.Queue.Delete
- extends AbstractMarshallingMethod
This method deletes a queue. When a queue is deleted any pending messages
are sent to a dead-letter queue if this is defined in the server
configuration, and all consumers on the queue are cancelled.
Field Summary |
boolean |
ifEmpty
If set, the server will only delete the queue if it has no messages. |
boolean |
ifUnused
If set, the server will only delete the queue if it has no consumers. |
static int |
INDEX
|
boolean |
noWait
|
java.lang.String |
queue
Specifies the name of the queue to delete. |
int |
reserved1
|
Constructor Summary |
AMQP.Queue.Delete()
|
AMQP.Queue.Delete(int reserved1,
java.lang.String queue,
boolean ifUnused,
boolean ifEmpty,
boolean noWait)
This method deletes a queue. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
reserved1
public int reserved1
queue
public java.lang.String queue
- Specifies the name of the queue to delete.
ifUnused
public boolean ifUnused
- If set, the server will only delete the queue if it has no consumers.
If the queue has consumers the server does does not delete it but
raises a channel exception instead.
ifEmpty
public boolean ifEmpty
- If set, the server will only delete the queue if it has no messages.
noWait
public boolean noWait
INDEX
public static final int INDEX
- See Also:
- Constant Field Values
AMQP.Queue.Delete
public AMQP.Queue.Delete(int reserved1,
java.lang.String queue,
boolean ifUnused,
boolean ifEmpty,
boolean noWait)
- This method deletes a queue. When a queue is deleted any pending
messages are sent to a dead-letter queue if this is defined in the
server configuration, and all consumers on the queue are cancelled.
AMQP.Queue.Delete
public AMQP.Queue.Delete()
getMethodId
public int getMethodId()
- Specified by:
getMethodId
in class AbstractMarshallingMethod
getMethodName
public java.lang.String getMethodName()
- Specified by:
getMethodName
in class AbstractMarshallingMethod
getClassId
public int getClassId()
- Specified by:
getClassId
in class AbstractMarshallingMethod
getClassName
public java.lang.String getClassName()
- Specified by:
getClassName
in class AbstractMarshallingMethod
readFrom
public void readFrom(AMQPInputStream in)
throws java.io.IOException
- Specified by:
readFrom
in class AbstractMarshallingMethod
- Throws:
java.io.IOException
writeTo
public void writeTo(AMQPOutputStream out)
throws java.io.IOException
- Specified by:
writeTo
in class AbstractMarshallingMethod
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2005 Scalagent - All rights reserved