You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Johan Stenberg (JIRA)" <ji...@apache.org> on 2018/01/07 11:57:00 UTC

[jira] [Created] (ARTEMIS-1588) Message send to an auto-created queue of a clustered broker instance is not forwarded to other broker instances.

Johan Stenberg created ARTEMIS-1588:
---------------------------------------

             Summary: Message send to an auto-created queue of a clustered broker instance is not forwarded to other broker instances.
                 Key: ARTEMIS-1588
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1588
             Project: ActiveMQ Artemis
          Issue Type: Bug
          Components: Broker
    Affects Versions: 2.4.0
            Reporter: Johan Stenberg


When a client sends a message to an auto-created queue on one broker instance, the message is not forwarded to other broker instances of the same cluster, thus clients subscribed to the other members will not receive the message. Instead a "java.lang.IllegalStateException: Cannot find binding for queues.myQueueeaac327b-f3a0-11e7-8158-54524514640f" is logged.

I am attaching a test class with two tests where two broker instances are started in a cluster. Each instance has on client connected. When the queue is pre-created, the message is forwarded to the other instance, when the queue is auto-created the client connected to the second broker does not receive the message.




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