You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Piotr Klimczak (Jira)" <ji...@apache.org> on 2021/06/14 11:10:00 UTC
[jira] [Updated] (AMQ-8299) ActiveMQMapMessage data corruption-
should use LinkedHashMap to preserve original order
[ https://issues.apache.org/jira/browse/AMQ-8299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Piotr Klimczak updated AMQ-8299:
--------------------------------
Summary: ActiveMQMapMessage data corruption- should use LinkedHashMap to preserve original order (was: ActiveMQMapMessage should use LinkedHashMap to preserve original order)
> ActiveMQMapMessage data corruption- should use LinkedHashMap to preserve original order
> ---------------------------------------------------------------------------------------
>
> Key: AMQ-8299
> URL: https://issues.apache.org/jira/browse/AMQ-8299
> Project: ActiveMQ
> Issue Type: Bug
> Components: JMS client
> Affects Versions: 5.16.2
> Reporter: Piotr Klimczak
> Priority: Major
>
> The core principle of messaging system should be that payload sent by produced is received exactly same (unmodified) on consumer side.
> However due to ActiveMQMapMessage using HashMap for map data, the order of entries is not guaranteed.
> This is especially true when we are sending LinkedHashMap on produced side. Then the consumer side will receive out of order data.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)