You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2012/08/07 20:44:10 UTC

[jira] [Closed] (AMQ-3949) Why ActiveMQMessageConsumer.dispatch copies message per listener

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

Timothy Bish closed AMQ-3949.
-----------------------------

    Resolution: Not A Problem
    
> Why ActiveMQMessageConsumer.dispatch copies message per listener
> ----------------------------------------------------------------
>
>                 Key: AMQ-3949
>                 URL: https://issues.apache.org/jira/browse/AMQ-3949
>             Project: ActiveMQ
>          Issue Type: Improvement
>            Reporter: Martin Chan Shu Ching
>            Priority: Minor
>
> When the consumer receives a topic message, the message is copied in ActiveMQMessageConsumer.dispatch() line 1294. If there are 10 consumers, the message will be copied 10 times. Wondering if that's really necessary to copy the content because we are doing performance tuning in our applications and found there is high memory usage in the MQ layer.
> line:1294
> ActiveMQMessage message = createActiveMQMessage(md);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira