本文整理了Java中org.apache.rocketmq.common.message.Message.setWaitStoreMsgOK()
方法的一些代码示例,展示了Message.setWaitStoreMsgOK()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Message.setWaitStoreMsgOK()
方法的具体详情如下:
包路径:org.apache.rocketmq.common.message.Message
类名称:Message
方法名:setWaitStoreMsgOK
暂无
代码示例来源:origin: apache/rocketmq
public Message(String topic, String tags, String keys, int flag, byte[] body, boolean waitStoreMsgOK) {
this.topic = topic;
this.flag = flag;
this.body = body;
if (tags != null && tags.length() > 0)
this.setTags(tags);
if (keys != null && keys.length() > 0)
this.setKeys(keys);
this.setWaitStoreMsgOK(waitStoreMsgOK);
}
代码示例来源:origin: apache/rocketmq-externals
rocketmqMsg.setDelayTimeLevel(Integer.parseInt(value));
} else if (MessageConst.PROPERTY_WAIT_STORE_MSG_OK.equals(name)) {
rocketmqMsg.setWaitStoreMsgOK(Boolean.parseBoolean(value));
} else if (MessageConst.PROPERTY_BUYER_ID.equals(name)) {
rocketmqMsg.setBuyerId(value);
代码示例来源:origin: apache/rocketmq
message.setKeys("keys123");
message.setTags("tags123");
message.setWaitStoreMsgOK(false);
message.setBuyerId("buyerid123");
message.setFlag(123);
代码示例来源:origin: didi/DDMQ
public Message(String topic, String tags, String keys, int flag, byte[] body, boolean waitStoreMsgOK) {
this.topic = topic;
this.flag = flag;
this.body = body;
if (tags != null && tags.length() > 0)
this.setTags(tags);
if (keys != null && keys.length() > 0)
this.setKeys(keys);
this.setWaitStoreMsgOK(waitStoreMsgOK);
}
代码示例来源:origin: javahongxi/whatsmars
rocketMsg.setWaitStoreMsgOK(waitStoreMsgOK);
代码示例来源:origin: didi/DDMQ
msg.setWaitStoreMsgOK(false);//do not wait sync to slave
MessageQueue mq = new MessageQueue(topicName, brokerName, 0);
SendMessageRequestHeader requestHeader = getMessageRequestHeader(msg, mq);
代码示例来源:origin: org.apache.rocketmq/rocketmq-common
public Message(String topic, String tags, String keys, int flag, byte[] body, boolean waitStoreMsgOK) {
this.topic = topic;
this.flag = flag;
this.body = body;
if (tags != null && tags.length() > 0)
this.setTags(tags);
if (keys != null && keys.length() > 0)
this.setKeys(keys);
this.setWaitStoreMsgOK(waitStoreMsgOK);
}
代码示例来源:origin: didi/DDMQ
message.setKeys("keys123");
message.setTags("tags123");
message.setWaitStoreMsgOK(false);
message.setBuyerId("buyerid123");
message.setFlag(123);
代码示例来源:origin: org.apache.rocketmq/rocketmq-spring-boot
rocketMsg.setWaitStoreMsgOK(waitStoreMsgOK);
代码示例来源:origin: QianmiOpen/spring-boot-starter-rocketmq
rocketMsg.setWaitStoreMsgOK(waitStoreMsgOK);
内容来源于网络,如有侵权,请联系作者删除!