diff --git a/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/converter/CoreAmqpConverter.java b/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/converter/CoreAmqpConverter.java index 421ea21bac..3bad75ec82 100644 --- a/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/converter/CoreAmqpConverter.java +++ b/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/converter/CoreAmqpConverter.java @@ -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;