org.apache.activemq.artemis.api.core.Message.getSimpleStringProperty()方法的使用及代码示例

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

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

Message.getSimpleStringProperty介绍

暂无

代码示例

代码示例来源:origin: wildfly/wildfly

public static SimpleString getJMSReplyTo(Message message) {
 return message.getSimpleStringProperty(REPLYTO_HEADER_NAME);
}

代码示例来源:origin: wildfly/wildfly

public static String getJMSType(Message message) {
 SimpleString ss = message.getSimpleStringProperty(TYPE_HEADER_NAME);
 if (ss != null) {
   return ss.toString();
 } else {
   return null;
 }
}

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

public static SimpleString getJMSReplyTo(Message message) {
 return message.getSimpleStringProperty(REPLYTO_HEADER_NAME);
}

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

public static SimpleString getJMSReplyTo(Message message) {
 return message.getSimpleStringProperty(REPLYTO_HEADER_NAME);
}

代码示例来源:origin: org.apache.activemq/artemis-jms-client-all

public static SimpleString getJMSReplyTo(Message message) {
 return message.getSimpleStringProperty(REPLYTO_HEADER_NAME);
}

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

public static SimpleString getJMSReplyTo(Message message) {
 return message.getSimpleStringProperty(REPLYTO_HEADER_NAME);
}

代码示例来源:origin: org.apache.activemq/artemis-core-client

public static SimpleString getJMSReplyTo(Message message) {
 return message.getSimpleStringProperty(REPLYTO_HEADER_NAME);
}

代码示例来源:origin: org.jboss.eap/wildfly-client-all

public static SimpleString getJMSReplyTo(Message message) {
 return message.getSimpleStringProperty(REPLYTO_HEADER_NAME);
}

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

public static String getJMSType(Message message) {
 SimpleString ss = message.getSimpleStringProperty(TYPE_HEADER_NAME);
 if (ss != null) {
   return ss.toString();
 } else {
   return null;
 }
}

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

public static String getJMSType(Message message) {
 SimpleString ss = message.getSimpleStringProperty(TYPE_HEADER_NAME);
 if (ss != null) {
   return ss.toString();
 } else {
   return null;
 }
}

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

public static String getJMSType(Message message) {
 SimpleString ss = message.getSimpleStringProperty(TYPE_HEADER_NAME);
 if (ss != null) {
   return ss.toString();
 } else {
   return null;
 }
}

代码示例来源:origin: org.apache.activemq/artemis-jms-client-all

public static String getJMSType(Message message) {
 SimpleString ss = message.getSimpleStringProperty(TYPE_HEADER_NAME);
 if (ss != null) {
   return ss.toString();
 } else {
   return null;
 }
}

代码示例来源:origin: org.apache.activemq/artemis-core-client

public static String getJMSType(Message message) {
 SimpleString ss = message.getSimpleStringProperty(TYPE_HEADER_NAME);
 if (ss != null) {
   return ss.toString();
 } else {
   return null;
 }
}

代码示例来源:origin: org.jboss.eap/wildfly-client-all

public static String getJMSType(Message message) {
 SimpleString ss = message.getSimpleStringProperty(TYPE_HEADER_NAME);
 if (ss != null) {
   return ss.toString();
 } else {
   return null;
 }
}

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

@Override
public SimpleString getLastValueProperty() {
 SimpleString lastValue = message.getSimpleStringProperty(queue.getLastValueKey());
 if (lastValue == null) {
   lastValue = message.getLastValueProperty();
 }
 return lastValue;
}

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

private SimpleString extractAddress(Message message) {
 if (message.containsProperty(Message.HDR_ORIG_MESSAGE_ID.toString())) {
   return message.getSimpleStringProperty(Message.HDR_ORIGINAL_ADDRESS.toString());
 } else {
   return message.getAddressSimpleString();
 }
}

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

@Override
public SimpleString getLastValueProperty() {
 SimpleString lastValue = getMessage().getSimpleStringProperty(getQueue().getLastValueKey());
 if (lastValue == null) {
   lastValue = getMessage().getLastValueProperty();
 }
 return lastValue;
}

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

int deliveryCount) throws Exception {
command.addHeader(Stomp.Headers.Message.MESSAGE_ID, String.valueOf(message.getMessageID()));
SimpleString prefix = message.getSimpleStringProperty(Message.HDR_PREFIX);
command.addHeader(Stomp.Headers.Message.DESTINATION,  (prefix == null ? "" : prefix) + message.getAddress());

代码示例来源:origin: org.apache.activemq/artemis-stomp-protocol

int deliveryCount) throws Exception {
command.addHeader(Stomp.Headers.Message.MESSAGE_ID, String.valueOf(message.getMessageID()));
SimpleString prefix = message.getSimpleStringProperty(Message.HDR_PREFIX);
command.addHeader(Stomp.Headers.Message.DESTINATION,  (prefix == null ? "" : prefix) + message.getAddress());

相关文章