activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-5857) Message content stored twice while sending
Date Mon, 29 Jun 2015 22:03:04 GMT

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

Timothy Bish commented on AMQ-5857:
-----------------------------------

I don't think it'd be a bad thing if the message cleared the content on marshal, however,
it is possible that this could have some unintended consequences.  The broker and the client
both share this code and on the client side it probably works fine, on the broker side there
could be cases where we might see something go wrong when things like concurrent store and
dispatch is enabled so changing this bit should be thoroughly tested.  

> Message content stored twice while sending
> ------------------------------------------
>
>                 Key: AMQ-5857
>                 URL: https://issues.apache.org/jira/browse/AMQ-5857
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: JMS client
>    Affects Versions: 5.7.0, 5.8.0, 5.9.0, 5.10.0, 5.11.0
>            Reporter: Benjamin Graf
>
> The storeContent method in ActiveMQTextMessage does not clean text field after storing
content. Therefor the message temporary exists twice which can lead to OOM problems for large
or many text messages concurrently processing. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message