activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martyn Taylor (JIRA)" <>
Subject [jira] [Created] (ARTEMIS-366) MQTT Retain Messages use message.copy()
Date Wed, 27 Jan 2016 20:48:39 GMT
Martyn Taylor created ARTEMIS-366:

             Summary: MQTT Retain Messages use message.copy()
                 Key: ARTEMIS-366
             Project: ActiveMQ Artemis
          Issue Type: Improvement
            Reporter: 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

View raw message