[
https://issues.apache.org/jira/browse/AMQ-3949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Chan Shu Ching updated AMQ-3949:
---------------------------------------
Description:
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);
was:
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 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);
> 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