You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Martyn Taylor (JIRA)" <ji...@apache.org> on 2016/07/19 16:09:20 UTC
[jira] [Assigned] (ARTEMIS-366) MQTT Retain Messages use
message.copy()
[ https://issues.apache.org/jira/browse/ARTEMIS-366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martyn Taylor reassigned ARTEMIS-366:
-------------------------------------
Assignee: Martyn Taylor
> 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
>
> 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
(v6.3.4#6332)