You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Otavio Rodolfo Piske (JIRA)" <ji...@apache.org> on 2017/08/16 12:34:01 UTC

[jira] [Created] (ARTEMIS-1351) Broker does not load balance if the messages lack application properties

Otavio Rodolfo Piske created ARTEMIS-1351:
---------------------------------------------

             Summary: Broker does not load balance if the messages lack application properties
                 Key: ARTEMIS-1351
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1351
             Project: ActiveMQ Artemis
          Issue Type: Bug
            Reporter: Otavio Rodolfo Piske


This is related to a discussion I had with [~ataylor284], when he was helping me with clustering. 

Apparently, the broker does not load balance messages if they miss the application properties. 

Steps to reproduce: 

1. Configure a 3-node A-MQ 7.0.0 cluster
2. Send a message without any application properties (ie.: such as the ones sent by the [messaging performance tool|https://github.com/orpiske/msg-perf-tool/]): 
{quote}./mpt-sender perf -b amqp://host:5672/somequeue --log-level=debug -c 99 -p 1 -s 128 -N{quote}

Expected result: approximately 33 messages would be sent to each node on the cluster.

Actual result: all the messages (99) are retained on the node to which they are sent. 

Work-around: send messages w/ application properties set (in this case, the messages are balanced among the nodes)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)