@Override public String getAddress() { return _properties == null ? null : _properties.getTo(); }
@Override public String getAddress() { return _properties == null ? null : _properties.getTo(); }
String getToAddress() { if (properties != null) { return properties.getTo(); } return null; }
@Override public String getAddress() { return _properties == null ? null : _properties.getTo(); }
String getToAddress() { if (properties != null) { return properties.getTo(); } return null; }
@Override public String getAddress() { return _properties == null ? null : _properties.getTo(); }
@Override public SimpleString getAddressSimpleString() { if (address == null) { TypedProperties extraProperties = getExtraProperties(); // we first check if extraProperties is not null, no need to create it just to check it here if (extraProperties != null) { address = extraProperties.getSimpleStringProperty(ADDRESS_PROPERTY); } if (address == null) { // if it still null, it will look for the address on the getTo(); if (properties != null && properties.getTo() != null) { address = cachedAddressSimpleString(properties.getTo()); } } } return address; }
/** * Return the set address that was set in the Message To field. * * @return the set address String form or null if not set. */ public String getAddress() { if (message.getProperties() == null) { return null; } return message.getProperties().getTo(); }
@Override public SimpleString getAddressSimpleString() { if (address == null) { TypedProperties extraProperties = getExtraProperties(); // we first check if extraProperties is not null, no need to create it just to check it here if (extraProperties != null) { address = extraProperties.getSimpleStringProperty(ADDRESS_PROPERTY); } if (address == null) { // if it still null, it will look for the address on the getTo(); Properties properties = getProperties(); if (properties != null && properties.getTo() != null) { address = cachedAddressSimpleString(properties.getTo()); } } } return address; }
return _impl.getUserId(); case 2: return _impl.getTo(); case 3: return _impl.getSubject();
return _impl.getUserId(); case 2: return _impl.getTo(); case 3: return _impl.getSubject();
return _impl.getUserId(); case 2: return _impl.getTo(); case 3: return _impl.getSubject();
return _impl.getUserId(); case 2: return _impl.getTo(); case 3: return _impl.getSubject();
assertNotNull("Properties section not present", properties); assertEquals("expected to value to be present", testToAddress, properties.getTo()); assertEquals("expected reply to value to be present", testReplyToAddress, properties.getReplyTo()); assertEquals("expected message id value to be present", testMessageId, properties.getMessageId());
public int size() { return _impl.getReplyToGroupId() != null ? 13 : _impl.getGroupSequence() != null ? 12 : _impl.getGroupId() != null ? 11 : _impl.getCreationTime() != null ? 10 : _impl.getAbsoluteExpiryTime() != null ? 9 : _impl.getContentEncoding() != null ? 8 : _impl.getContentType() != null ? 7 : _impl.getCorrelationId() != null ? 6 : _impl.getReplyTo() != null ? 5 : _impl.getSubject() != null ? 4 : _impl.getTo() != null ? 3 : _impl.getUserId() != null ? 2 : _impl.getMessageId() != null ? 1 : 0; }
private int getElementCount(Properties properties) { if (properties.getReplyToGroupId() != null) { return 13; } else if (properties.getGroupSequence() != null) { return 12; } else if (properties.getGroupId() != null) { return 11; } else if (properties.getCreationTime() != null) { return 10; } else if (properties.getAbsoluteExpiryTime() != null) { return 9; } else if (properties.getContentEncoding() != null) { return 8; } else if (properties.getContentType() != null) { return 7; } else if (properties.getCorrelationId() != null) { return 6; } else if (properties.getReplyTo() != null) { return 5; } else if (properties.getSubject() != null) { return 4; } else if (properties.getTo() != null) { return 3; } else if (properties.getUserId() != null) { return 2; } else if (properties.getMessageId() != null) { return 1; } return 0; }
public int size() { return _impl.getReplyToGroupId() != null ? 13 : _impl.getGroupSequence() != null ? 12 : _impl.getGroupId() != null ? 11 : _impl.getCreationTime() != null ? 10 : _impl.getAbsoluteExpiryTime() != null ? 9 : _impl.getContentEncoding() != null ? 8 : _impl.getContentType() != null ? 7 : _impl.getCorrelationId() != null ? 6 : _impl.getReplyTo() != null ? 5 : _impl.getSubject() != null ? 4 : _impl.getTo() != null ? 3 : _impl.getUserId() != null ? 2 : _impl.getMessageId() != null ? 1 : 0; }
break; case 2: getEncoder().writeString(properties.getTo()); break; case 3: