本文整理了Java中com.amazonaws.services.sqs.model.Message.setReceiptHandle()
方法的一些代码示例,展示了Message.setReceiptHandle()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Message.setReceiptHandle()
方法的具体详情如下:
包路径:com.amazonaws.services.sqs.model.Message
类名称:Message
方法名:setReceiptHandle
[英]An identifier associated with the act of receiving the message. A new receipt handle is returned every time you receive a message. When deleting a message, you provide the last received receipt handle to delete the message.
[中]与接收信息的行为相关联的标识符。每次收到消息时,都会返回一个新的接收句柄。删除邮件时,提供上次收到的回执句柄以删除邮件。
代码示例来源:origin: aws/aws-sdk-java
/**
* <p>
* An identifier associated with the act of receiving the message. A new receipt handle is returned every time you
* receive a message. When deleting a message, you provide the last received receipt handle to delete the message.
* </p>
*
* @param receiptHandle
* An identifier associated with the act of receiving the message. A new receipt handle is returned every
* time you receive a message. When deleting a message, you provide the last received receipt handle to
* delete the message.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public Message withReceiptHandle(String receiptHandle) {
setReceiptHandle(receiptHandle);
return this;
}
代码示例来源:origin: aws/aws-sdk-java
message.setReceiptHandle(StringStaxUnmarshaller.getInstance().unmarshall(context));
continue;
代码示例来源:origin: com.amazonaws/aws-java-sdk-sqs
/**
* <p>
* An identifier associated with the act of receiving the message. A new receipt handle is returned every time you
* receive a message. When deleting a message, you provide the last received receipt handle to delete the message.
* </p>
*
* @param receiptHandle
* An identifier associated with the act of receiving the message. A new receipt handle is returned every
* time you receive a message. When deleting a message, you provide the last received receipt handle to
* delete the message.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public Message withReceiptHandle(String receiptHandle) {
setReceiptHandle(receiptHandle);
return this;
}
代码示例来源:origin: aws-amplify/aws-sdk-android
message.setReceiptHandle(StringStaxUnmarshaller.getInstance().unmarshall(
context));
continue;
代码示例来源:origin: awslabs/amazon-sqs-java-extended-client-lib
s3MsgBucketName, s3MsgKey);
message.setReceiptHandle(modifiedReceiptHandle);
代码示例来源:origin: com.amazonaws/aws-java-sdk-sqs
message.setReceiptHandle(StringStaxUnmarshaller.getInstance().unmarshall(context));
continue;
代码示例来源:origin: com.amazonaws/aws-android-sdk-sqs
message.setReceiptHandle(StringStaxUnmarshaller.getInstance().unmarshall(
context));
continue;
内容来源于网络,如有侵权,请联系作者删除!