|
Joram 5.2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
org.objectweb.joram.mom.amqp.marshalling.AMQP.Queue.Declare
public static class AMQP.Queue.Declare
This method creates or checks a queue. When creating a new queue the client can specify various properties that control the durability of the queue and its contents, and the level of sharing for the queue.
Field Summary | |
---|---|
java.util.Map |
arguments
A set of arguments for the declaration. |
boolean |
autoDelete
If set, the queue is deleted when all consumers have finished using it. |
boolean |
durable
If set when creating a new queue, the queue will be marked as durable. |
boolean |
exclusive
Exclusive queues may only be accessed by the current connection, and are deleted when that connection closes. |
static int |
INDEX
|
boolean |
noWait
|
boolean |
passive
If set, the server will reply with Declare-Ok if the queue already exists with the same name, and raise an error if not. |
java.lang.String |
queue
|
int |
reserved1
|
Fields inherited from class org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod |
---|
logger, NULL_METHOD_ID |
Constructor Summary | |
---|---|
AMQP.Queue.Declare()
|
|
AMQP.Queue.Declare(int reserved1,
java.lang.String queue,
boolean passive,
boolean durable,
boolean exclusive,
boolean autoDelete,
boolean noWait,
java.util.Map arguments)
This method creates or checks a queue. |
Method Summary | |
---|---|
int |
getClassId()
|
java.lang.String |
getClassName()
|
int |
getMethodId()
|
java.lang.String |
getMethodName()
|
void |
readFrom(AMQPInputStream in)
|
java.lang.String |
toString()
|
void |
writeTo(AMQPOutputStream out)
|
Methods inherited from class org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod |
---|
read, toFrame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int reserved1
public java.lang.String queue
public boolean passive
public boolean durable
public boolean exclusive
public boolean autoDelete
public boolean noWait
public java.util.Map arguments
public static final int INDEX
Constructor Detail |
---|
public AMQP.Queue.Declare(int reserved1, java.lang.String queue, boolean passive, boolean durable, boolean exclusive, boolean autoDelete, boolean noWait, java.util.Map arguments)
public AMQP.Queue.Declare()
Method Detail |
---|
public int getMethodId()
getMethodId
in class AbstractMarshallingMethod
public java.lang.String getMethodName()
getMethodName
in class AbstractMarshallingMethod
public int getClassId()
getClassId
in class AbstractMarshallingMethod
public java.lang.String getClassName()
getClassName
in class AbstractMarshallingMethod
public void readFrom(AMQPInputStream in) throws java.io.IOException
readFrom
in class AbstractMarshallingMethod
java.io.IOException
public void writeTo(AMQPOutputStream out) throws java.io.IOException
writeTo
in class AbstractMarshallingMethod
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
|
Joram 5.2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |