Class AMQP.Basic.RecoverAsync
- java.lang.Object
-
- org.ow2.joram.mom.amqp.marshalling.AbstractMarshallingMethod
-
- org.ow2.joram.mom.amqp.marshalling.AMQP.Basic.RecoverAsync
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AMQP.Basic
public static class AMQP.Basic.RecoverAsync extends AbstractMarshallingMethod
This method asks the server to redeliver all unacknowledged messages on a specified channel. Zero or more messages may be redelivered. This method is deprecated in favour of the synchronous Recover/Recover-Ok.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intINDEXbooleanrequeueIf this field is zero, the message will be redelivered to the original recipient.private static longserialVersionUID-
Fields inherited from class org.ow2.joram.mom.amqp.marshalling.AbstractMarshallingMethod
channelNumber
-
-
Constructor Summary
Constructors Constructor Description RecoverAsync()RecoverAsync(boolean requeue)This method asks the server to redeliver all unacknowledged messages on a specified channel.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetClassId()StringgetClassName()intgetMethodId()StringgetMethodName()voidreadFrom(AMQPInputStream in)StringtoString()voidwriteTo(AMQPOutputStream out)-
Methods inherited from class org.ow2.joram.mom.amqp.marshalling.AbstractMarshallingMethod
read, toFrame
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
requeue
public boolean requeue
If this field is zero, the message will be redelivered to the original recipient. If this bit is 1, the server will attempt to requeue the message, potentially then delivering it to an alternative subscriber.
-
INDEX
public static final int INDEX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RecoverAsync
public RecoverAsync(boolean requeue)
This method asks the server to redeliver all unacknowledged messages on a specified channel. Zero or more messages may be redelivered. This method is deprecated in favour of the synchronous Recover/Recover-Ok.
-
RecoverAsync
public RecoverAsync()
-
-
Method Detail
-
getMethodId
public int getMethodId()
- Specified by:
getMethodIdin classAbstractMarshallingMethod
-
getMethodName
public String getMethodName()
- Specified by:
getMethodNamein classAbstractMarshallingMethod
-
getClassId
public int getClassId()
- Specified by:
getClassIdin classAbstractMarshallingMethod
-
getClassName
public String getClassName()
- Specified by:
getClassNamein classAbstractMarshallingMethod
-
readFrom
public void readFrom(AMQPInputStream in) throws IOException
- Specified by:
readFromin classAbstractMarshallingMethod- Throws:
IOException
-
writeTo
public void writeTo(AMQPOutputStream out) throws IOException
- Specified by:
writeToin classAbstractMarshallingMethod- Throws:
IOException
-
-