NO-JIRA Fix String and SimpleString equals check

This commit is contained in:
Michael André Pearce 2019-01-18 00:24:20 +00:00
parent 7337274338
commit 300ba4ecda
1 changed files with 2 additions and 2 deletions

View File

@ -283,11 +283,11 @@ public class CoreAmqpConverter {
footerMap.put(name, message.getObjectProperty(key));
continue;
}
} else if (key.equals(Message.HDR_GROUP_ID)) {
} else if (key.equals(Message.HDR_GROUP_ID.toString())) {
String value = message.getStringProperty(key);
properties.setGroupId(value);
continue;
} else if (key.equals(Message.HDR_GROUP_SEQUENCE)) {
} else if (key.equals(Message.HDR_GROUP_SEQUENCE.toString())) {
int value = message.getIntProperty(key);
properties.setGroupSequence(UnsignedInteger.valueOf(value));
continue;