You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/04/25 13:45:00 UTC

[jira] [Commented] (ARTEMIS-3798) Some OpenWire message details dropped during upgrade to 2.21.0

    [ https://issues.apache.org/jira/browse/ARTEMIS-3798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17527503#comment-17527503 ] 

ASF subversion and git services commented on ARTEMIS-3798:
----------------------------------------------------------

Commit 83afe0e276078d239ad6505ea391ee48350498f6 in activemq-artemis's branch refs/heads/main from Marco Roehrs
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=83afe0e276 ]

ARTEMIS-3798 Allow binary deserialization of message properties AMQ_MSG_MESSAGE_ID, AMQ_MSG_ORIG_DESTINATION, AMQ_MSG_PRODUCER_ID & AMQ_MSG_REPLY_TO from existing messages.

co-authored: Justin Bertram contributed OpenWireMessageConverterTest changes


> Some OpenWire message details dropped during upgrade to 2.21.0
> --------------------------------------------------------------
>
>                 Key: ARTEMIS-3798
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3798
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Clebert Suconic
>            Priority: Major
>             Fix For: 2.22.0
>
>
> If OpenWire messages were received by a broker _before_ 2.21.0 then when upgrading to 2.21.0 they will incur in warning during message conversions and some details of the message will be lost. This includes the message's original message ID, producer ID, original destination, and reply-to destination.
> {{WARN}} messages such as this will be logged:
> {noformat}
> 2022-03-18 17:10:53,639 WARN  [org.apache.activemq.artemis.core.server] AMQ222302: Failed to deal with property __HDR_PRODUCER_ID when converting message from core to OpenWire: Cannot cast [B to org.apache.activemq.artemis.api.core.SimpleString
> 2022-03-18 17:10:53,641 WARN  [org.apache.activemq.artemis.core.server] AMQ222302: Failed to deal with property __HDR_MESSAGE_ID when converting message from core to OpenWire: Cannot cast [B to org.apache.activemq.artemis.api.core.SimpleString{noformat}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)