public static class AMQP.Queue.Bind extends AbstractMarshallingMethod
Modifier and Type | Field and Description |
---|---|
Map |
arguments
A set of arguments for the binding.
|
String |
exchange |
static int |
INDEX |
boolean |
noWait |
String |
queue
Specifies the name of the queue to bind.
|
int |
reserved1 |
String |
routingKey
Specifies the routing key for the binding.
|
private static long |
serialVersionUID |
channelNumber, logger
Constructor and Description |
---|
Bind() |
Bind(int reserved1,
String queue,
String exchange,
String routingKey,
boolean noWait,
Map arguments)
This method binds a queue to an exchange.
|
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 String exchange
public String routingKey
public boolean noWait
public Map arguments
public static final int INDEX
public Bind(int reserved1, String queue, String exchange, String routingKey, boolean noWait, Map arguments)
public Bind()
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 © 2022 ScalAgent D.T.. All rights reserved.