public Properties getProperties() { return _propertiesSection == null ? null : _propertiesSection.getValue(); }
public String getTo() { return _propertiesSection == null ? null : _propertiesSection.getValue().getTo(); }
public String getSubject() { return _propertiesSection == null ? null : _propertiesSection.getValue().getSubject(); }
@Override public String getUserId() { if (_propertiesSection == null || _propertiesSection.getValue().getUserId() == null) { return null; } else { if (_decodedUserId.get() == null) { Binary encodededUserId = _propertiesSection.getValue().getUserId(); _decodedUserId.set(new String(encodededUserId.getArray(), StandardCharsets.UTF_8)); } return _decodedUserId.get(); } }
public static Date getAbsoluteExpiryTime(final Message_1_0 serverMsg) { final PropertiesSection propertiesSection = serverMsg.getPropertiesSection(); if (propertiesSection != null) { final Properties properties = propertiesSection.getValue(); propertiesSection.dispose(); if (properties != null) { return properties.getAbsoluteExpiryTime(); } } return null; }
public static UnsignedInteger getGroupSequence(final Message_1_0 serverMsg) { final PropertiesSection propertiesSection = serverMsg.getPropertiesSection(); if (propertiesSection != null) { final Properties properties = propertiesSection.getValue(); propertiesSection.dispose(); if (properties != null) { return properties.getGroupSequence(); } } return null; }
static Symbol getContentEncoding(final Message_1_0 serverMsg) { Symbol contentEncoding = null; final PropertiesSection propertiesSection = serverMsg.getPropertiesSection(); if (propertiesSection != null) { final Properties properties = propertiesSection.getValue(); propertiesSection.dispose(); if (properties != null) { contentEncoding = properties.getContentEncoding(); } } return contentEncoding; }
public static Binary getUserId(final Message_1_0 serverMsg) { Binary userId = null; final PropertiesSection propertiesSection = serverMsg.getPropertiesSection(); if (propertiesSection != null) { final Properties properties = propertiesSection.getValue(); propertiesSection.dispose(); if (properties != null) { userId = properties.getUserId(); } } return userId; }
public static Object getMessageId(final Message_1_0 serverMsg) { Object messageId = null; final PropertiesSection propertiesSection = serverMsg.getPropertiesSection(); if (propertiesSection != null) { final Properties properties = propertiesSection.getValue(); propertiesSection.dispose(); if (properties != null) { messageId = properties.getMessageId(); } } return messageId; }
public static Symbol getContentType(final Message_1_0 serverMsg) { final PropertiesSection propertiesSection = serverMsg.getPropertiesSection(); if (propertiesSection != null) { final Properties properties = propertiesSection.getValue(); propertiesSection.dispose(); if (properties != null) { return properties.getContentType(); } } return null; }
public static String getGroupId(final Message_1_0 serverMsg) { final PropertiesSection propertiesSection = serverMsg.getPropertiesSection(); if (propertiesSection != null) { final Properties properties = propertiesSection.getValue(); propertiesSection.dispose(); if (properties != null) { return properties.getGroupId(); } } return null; }
public static Date getCreationTime(final Message_1_0 serverMsg) { final PropertiesSection propertiesSection = serverMsg.getPropertiesSection(); if (propertiesSection != null) { final Properties properties = propertiesSection.getValue(); propertiesSection.dispose(); if (properties != null) { return properties.getCreationTime(); } } return null; }
public static Object getCorrelationId(final Message_1_0 serverMsg) { Object correlationIdObject = null; final PropertiesSection propertiesSection = serverMsg.getPropertiesSection(); if (propertiesSection != null) { final Properties properties = propertiesSection.getValue(); propertiesSection.dispose(); if (properties != null) { correlationIdObject = properties.getCorrelationId(); } } return correlationIdObject; }