org.apache.qpid.proton.message.Message.setGroupId()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(1.2k)|赞(0)|评价(0)|浏览(182)

本文整理了Java中org.apache.qpid.proton.message.Message.setGroupId()方法的一些代码示例,展示了Message.setGroupId()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Message.setGroupId()方法的具体详情如下:
包路径:org.apache.qpid.proton.message.Message
类名称:Message
方法名:setGroupId

Message.setGroupId介绍

暂无

代码示例

代码示例来源:origin: apache/activemq-artemis

  1. /**
  2. * Sets the GroupId property on an outbound message using the provided String
  3. *
  4. * @param groupId the String Group ID value to set.
  5. */
  6. public void setGroupId(String groupId) {
  7. checkReadOnly();
  8. lazyCreateProperties();
  9. getWrappedMessage().setGroupId(groupId);
  10. }

代码示例来源:origin: Azure/azure-event-hubs-java

  1. break;
  2. case AmqpConstants.AMQP_PROPERTY_GROUP_ID:
  3. amqpMessage.setGroupId((String) systemProperty.getValue());
  4. break;
  5. case AmqpConstants.AMQP_PROPERTY_GROUP_SEQUENCE:

代码示例来源:origin: Azure/azure-service-bus-java

  1. amqpMessage.setReplyTo(brokeredMessage.getReplyTo());
  2. amqpMessage.setReplyToGroupId(brokeredMessage.getReplyToSessionId());
  3. amqpMessage.setGroupId(brokeredMessage.getSessionId());

代码示例来源:origin: io.vertx/vertx-amqp-bridge

  1. protonMsg.setCorrelationId(testCorrelationId);
  2. protonMsg.setSubject(testSubject);
  3. protonMsg.setGroupId(testGroupId);
  4. protonMsg.setGroupSequence(testGroupSeq);
  5. protonMsg.setReplyToGroupId(testReplyToGroupId);

相关文章