Class Returned
- java.lang.Object
-
- org.ow2.joram.mom.amqp.structures.Returned
-
- All Implemented Interfaces:
Serializable
public class Returned extends Object implements Serializable
Holds a completeBasic.Returnresponse with headers and body.
This class is used to return to the client 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.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description byte[]bodyAMQP.Basic.BasicPropertiespropertieslongproxyIdAMQP.Basic.Returnreturnedprivate static longserialVersionUIDserialVersionUIDshortserverId
-
Constructor Summary
Constructors Constructor Description Returned(AMQP.Basic.Return returned, AMQP.Basic.BasicProperties properties, byte[] body)Returned(AMQP.Basic.Return returned, AMQP.Basic.BasicProperties properties, byte[] body, short serverId, long proxyId)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
serialVersionUID- See Also:
- Constant Field Values
-
returned
public AMQP.Basic.Return returned
-
properties
public AMQP.Basic.BasicProperties properties
-
body
public byte[] body
-
serverId
public short serverId
-
proxyId
public long proxyId
-
-
Constructor Detail
-
Returned
public Returned(AMQP.Basic.Return returned, AMQP.Basic.BasicProperties properties, byte[] body, short serverId, long proxyId)
-
Returned
public Returned(AMQP.Basic.Return returned, AMQP.Basic.BasicProperties properties, byte[] body)
-
-