[ 
https://issues.apache.org/jira/browse/ARTEMIS-366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Bertram resolved ARTEMIS-366.
------------------------------------
    Resolution: Not A Problem

This implementation has been in place for almost a decade and hasn't been a 
problem so far. Efficiency could be improved, but the existing solution is 
simple and effective so I'm closing this. Please re-open if this becomes a 
problem.

> MQTT Retain Messages use message.copy()
> ---------------------------------------
>
>                 Key: ARTEMIS-366
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-366
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Martyn Taylor
>            Assignee: Martyn Taylor
>            Priority: Major
>
> The MQTT Retain implementation uses special address to handling retained 
> messages.  Any retained message received will be forwarded to the appropriate 
> address and a copy sent to the special retain address.
> Since we are not uses pooled buffers, the buffer allocation for copies of 
> retained messages can be high.  We should try to use a message reference 
> instead of copy.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to