From 300ba4ecda47c59a1ee2edc3ab6d12280e69cf89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Andr=C3=A9=20Pearce?= Date: Fri, 18 Jan 2019 00:24:20 +0000 Subject: [PATCH] NO-JIRA Fix String and SimpleString equals check --- .../artemis/protocol/amqp/converter/CoreAmqpConverter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;