activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johan Stenberg (JIRA)" <>
Subject [jira] [Commented] (ARTEMIS-1588) Clustering not working with auto-created queues
Date Mon, 08 Jan 2018 20:14:00 GMT


Johan Stenberg commented on ARTEMIS-1588:

Hi Justin, you are right, it is a race condition that in my test case for some reason only
occurs with auto-created queues. When I add a timeout of some seconds after the two broker
instances are started it also works with auto-created queues. I open a separate issue with
the Stack-trace issue. Thanks for your help.

> Clustering not working with auto-created queues
> -----------------------------------------------
>                 Key: ARTEMIS-1588
>                 URL:
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 2.4.0
>            Reporter: Johan Stenberg
>         Attachments:, pom.xml
> 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 one client connected. When the test queue is pre-created, the
published message is forwarded to the other instance as expected. However, when the test queue
is auto-created the client connected to the second broker does not receive the message.

This message was sent by Atlassian JIRA

View raw message