예제 #1
0
파일: JMSUtil.java 프로젝트: krakhee20/jbit
  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());
    }
  }