public static class AMQP.Queue.Declare extends AbstractMarshallingMethod
Modifier and Type | Field and Description |
---|---|
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.
|
String |
queue |
int |
reserved1 |
private static long |
serialVersionUID |
channelNumber, logger
Constructor and Description |
---|
Declare() |
Declare(int reserved1,
String queue,
boolean passive,
boolean durable,
boolean exclusive,
boolean autoDelete,
boolean noWait,
Map arguments)
This method creates or checks a queue.
|
Modifier and Type | Method and Description |
---|---|
int |
getClassId() |
String |
getClassName() |
int |
getMethodId() |
String |
getMethodName() |
void |
readFrom(AMQPInputStream in) |
String |
toString() |
void |
writeTo(AMQPOutputStream out) |
read, toFrame
private static final long serialVersionUID
public int reserved1
public String queue
public boolean passive
public boolean durable
public boolean exclusive
public boolean autoDelete
public boolean noWait
public Map arguments
public static final int INDEX
public Declare(int reserved1, String queue, boolean passive, boolean durable, boolean exclusive, boolean autoDelete, boolean noWait, Map arguments)
public Declare()
public int getMethodId()
getMethodId
in class AbstractMarshallingMethod
public String getMethodName()
getMethodName
in class AbstractMarshallingMethod
public int getClassId()
getClassId
in class AbstractMarshallingMethod
public String getClassName()
getClassName
in class AbstractMarshallingMethod
public void readFrom(AMQPInputStream in) throws IOException, SyntaxErrorException
readFrom
in class AbstractMarshallingMethod
IOException
SyntaxErrorException
public void writeTo(AMQPOutputStream out) throws IOException
writeTo
in class AbstractMarshallingMethod
IOException
Copyright © 2021 ScalAgent D.T.. All rights reserved.