public Set<SimpleString> getPropertyNames() { return properties.getPropertyNames(); }
public Set<SimpleString> getPropertyNames() { return properties.getPropertyNames(); }
public Enumeration getMapNames() throws JMSException { Set propNames = new HashSet<String>(); for (SimpleString str : map.getPropertyNames()) { propNames.add(str.toString()); } return Collections.enumeration(propNames); }
public Map<String, Object> toMap() { Map<String, Object> map = new HashMap<String, Object>(); map.put("messageID", messageID); if (userID != null) { map.put("userID", "ID:" + userID.toString()); } map.put("address", address.toString()); map.put("type", type); map.put("durable", durable); map.put("expiration", expiration); map.put("timestamp", timestamp); map.put("priority", priority); for (SimpleString propName : properties.getPropertyNames()) { map.put(propName.toString(), properties.getProperty(propName)); } return map; }
public Map<String, Object> toMap() { Map<String, Object> map = new HashMap<String, Object>(); map.put("messageID", messageID); if (userID != null) { map.put("userID", "ID:" + userID.toString()); } map.put("address", address.toString()); map.put("type", type); map.put("durable", durable); map.put("expiration", expiration); map.put("timestamp", timestamp); map.put("priority", priority); for (SimpleString propName : properties.getPropertyNames()) { map.put(propName.toString(), properties.getProperty(propName)); } return map; }
for (SimpleString name : notification.getProperties().getPropertyNames())
for (SimpleString name : notification.getProperties().getPropertyNames())