org.objectweb.joram.mom.amqp.marshalling
Class AMQP.Basic.Return
java.lang.Object
org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
org.objectweb.joram.mom.amqp.marshalling.AMQP.Basic.Return
- All Implemented Interfaces:
- FrameBuilder
- Enclosing class:
- AMQP.Basic
public static class AMQP.Basic.Return
- extends AbstractMarshallingMethod
This method returns an undeliverable message that was published with the
"immediate" flag set, or an unroutable message published with the
"mandatory" flag set. The reply code and text provide information about
the reason that the message was undeliverable.
Field Summary |
java.lang.String |
exchange
Specifies the name of the exchange that the message was originally
published to. |
static int |
INDEX
|
int |
replyCode
|
java.lang.String |
replyText
|
java.lang.String |
routingKey
Specifies the routing key name specified when the message was
published. |
Constructor Summary |
AMQP.Basic.Return()
|
AMQP.Basic.Return(int replyCode,
java.lang.String replyText,
java.lang.String exchange,
java.lang.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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
replyCode
public int replyCode
replyText
public java.lang.String replyText
exchange
public java.lang.String exchange
- Specifies the name of the exchange that the message was originally
published to. May be empty, meaning the default exchange.
routingKey
public java.lang.String routingKey
- Specifies the routing key name specified when the message was
published.
INDEX
public static final int INDEX
- See Also:
- Constant Field Values
AMQP.Basic.Return
public AMQP.Basic.Return(int replyCode,
java.lang.String replyText,
java.lang.String exchange,
java.lang.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. The reply code and text provide information about
the reason that the message was undeliverable.
AMQP.Basic.Return
public AMQP.Basic.Return()
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 © 2000 - 2009 Scalagent D.T. - All rights reserved