public static class AMQP.Basic.Return extends AbstractMarshallingMethod
Modifier and Type | Field and Description |
---|---|
String |
exchange
Specifies the name of the exchange that the message was originally
published to.
|
static int |
INDEX |
int |
replyCode |
String |
replyText |
String |
routingKey
Specifies the routing key name specified when the message was
published.
|
private static long |
serialVersionUID |
channelNumber, logger
Constructor and Description |
---|
AMQP.Basic.Return() |
AMQP.Basic.Return(int replyCode,
String replyText,
String exchange,
String routingKey)
This method returns an undeliverable message that was published with
the "immediate" flag set, or an unroutable message published with the
"mandatory" flag set.
|
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 replyCode
public String replyText
public String exchange
public String routingKey
public static final int INDEX
public AMQP.Basic.Return(int replyCode, String replyText, String exchange, String routingKey)
public AMQP.Basic.Return()
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
readFrom
in class AbstractMarshallingMethod
IOException
public void writeTo(AMQPOutputStream out) throws IOException
writeTo
in class AbstractMarshallingMethod
IOException
Copyright © 2013 ScalAgent D.T.. All Rights Reserved.