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 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; }
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 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 String getReplyTo(final Message_1_0 serverMsg) { String replyTo = null; final PropertiesSection propertiesSection = serverMsg.getPropertiesSection(); if (propertiesSection != null) { final Properties properties = propertiesSection.getValue(); propertiesSection.dispose(); if (properties != null) { replyTo = properties.getReplyTo(); } } return replyTo; }
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; }
_propertiesSection.dispose(); _propertiesSection = null;