public final void createJmsProperties() {
if (isJms() && m_root != null && m_root.hasChildren()) {
Collection<MessageProperty> systemProperties = getJmsSystemProperties();
Collection<MessageProperty> standardProperties = getJmsStandardProperties();
MessagePropertiesDescriptor userProperties = getJmsUserDefinedProperties();
if (systemProperties == null && standardProperties == null && userProperties == null)
return;
Node jms = m_root.findChildFolder(sJMS);
if (jms == null) {
jms = create_node(m_root, "JMS Properties", sJMS, true);
jms.setCromName(sJMS);
}
final String io = (m_where == c_TreeMapperTarget) ? "out." : "in.";
createJmsBranch(jms, "Header", "$jms.header." + io, systemProperties);
createJmsBranch(jms, "Standard", "$jms.property." + io, standardProperties);
if (userProperties != null)
createJmsBranch(jms, "User defined", "$jms.property." + io, userProperties.getProperties());
}
}