You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2022/10/26 14:34:44 UTC

[activemq-artemis] branch main updated: NO-JIRA - Fix typo in OpenWireMessageConverter

This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new a44b415395 NO-JIRA - Fix typo in OpenWireMessageConverter
a44b415395 is described below

commit a44b415395fd72575cc0102442a5ba73975d2913
Author: AntonRoskvist <an...@volvo.com>
AuthorDate: Mon Oct 24 21:24:52 2022 +0200

    NO-JIRA - Fix typo in OpenWireMessageConverter
---
 .../artemis/core/protocol/openwire/OpenWireMessageConverter.java         | 1 -
 1 file changed, 1 deletion(-)

diff --git a/artemis-protocols/artemis-openwire-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/openwire/OpenWireMessageConverter.java b/artemis-protocols/artemis-openwire-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/openwire/OpenWireMessageConverter.java
index 879573c2a6..2982714841 100644
--- a/artemis-protocols/artemis-openwire-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/openwire/OpenWireMessageConverter.java
+++ b/artemis-protocols/artemis-openwire-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/openwire/OpenWireMessageConverter.java
@@ -165,7 +165,6 @@ public final class OpenWireMessageConverter {
       final MessageId messageId = messageSend.getMessageId();
       if (messageId != null) {
          coreMessage.putStringProperty(OpenWireConstants.AMQ_MSG_MESSAGE_ID, SimpleString.toSimpleString(messageId.toString()));
-         coreMessage.putStringProperty(OpenWireConstants.AMQ_MSG_MESSAGE_ID, SimpleString.toSimpleString(messageId.toString()));
       }
 
       coreMessage.setUserID(UUIDGenerator.getInstance().generateUUID());