Esempio n. 1
0
  public static void constructMessageProperties(
      Message jmsMsg, CustomMessagePropertyList customMessagePropertyList) throws JMSException {
    List<CustomMessageProperty> customMessageProperties =
        customMessagePropertyList.getCustomMessageProperty();

    for (CustomMessageProperty msgProp : customMessageProperties) {
      jmsMsg.setStringProperty(msgProp.getName(), msgProp.getValue());
    }
  }