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

Benjamin Graf commented on AMQ-5857:
------------------------------------

Well, do you think anyone would call getText() anymore after calling setText()? 
I think calling storeContentAndClear() is not a good solution esspecially if 
your using JMS API (eg. camel-jms) and do not want to depend on ActiveMQ 
proprietary API.

> 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)

Reply via email to