You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "duff qiu (JIRA)" <ji...@apache.org> on 2015/06/04 05:59:38 UTC

[jira] [Created] (AMQ-5827) replayWhenNoConsumers just partial work

duff qiu created AMQ-5827:
-----------------------------

             Summary: replayWhenNoConsumers just partial work
                 Key: AMQ-5827
                 URL: https://issues.apache.org/jira/browse/AMQ-5827
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.11.1
         Environment: linux
            Reporter: duff qiu


I have a network broker topology as below

1. broker named core1 and core2 as hub for other brokers. they connect bidirction(core1->core2, core2->core1) using static connection.

2. broker named edge1, edge2, edge3 as edge broker connect to hub. edge1->core1, edge2->core2, edge3->core2 (please note edge2 and edge3 are connected to core2)

3. all brokers is configured to use replayWhenNoConsumers="true" in policyEntry

4. consume c1 messages  from edge3 using virtual queue for the virtual topic

5. producer p1 send messages using virtual topic from edge1

6. during c1 recieves messages, cancel it

7. from the webcolse, we can see some message are stuck in core2 and edge1

8. setup another consumer c2 in edge3, it only can receive the message stuck in core2, the messages stuck in edge1 will go back to core1 and not forward to c2

9.but if setup a new consumer c3 in edge1, the stuck message from edge3->core2 will forward to c3





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)