Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-7096

All consumers of all federated queue drops if only one consumer drops

XMLWordPrintable

    • False
    • None
    • False
    • Hide
      • Create 2 brokers: broker-1 and broker-2 from using the file that I uploaded.
      • Create both consumers connection to the same broker (broker-1) for each queue:

      $ bin/artemis consumer --user admin --password admin --destination Test.Q.1 --url tcp://localhost:61616

      $ bin/artemis consumer --user admin --password admin --destination Test.Q.2 --url tcp://localhost:61616

      • Look at the web console from both brokers. The consumers are there;
      • Drop the consumer for "Test.Q.1" (CRTL + C);
      • Look at the web console from both brokers. All the consumers don't exist in broker-2 anymore;
      • Run a test, sending messages to broker-2 to queue Test.Q.2 (the consumer is still up in broker-1) :

      $ bin/artemis producer --user admin --password admin --destination Test.Q.2 --url tcp://localhost:61617

      • Confirm that the federation is not working anymore.
      Show
      Create 2 brokers: broker-1 and broker-2 from using the file that I uploaded. Create both consumers connection to the same broker (broker-1) for each queue: $ bin/artemis consumer --user admin --password admin --destination Test.Q.1 --url tcp://localhost:61616 $ bin/artemis consumer --user admin --password admin --destination Test.Q.2 --url tcp://localhost:61616 Look at the web console from both brokers. The consumers are there; Drop the consumer for "Test.Q.1" (CRTL + C); Look at the web console from both brokers. All the consumers don't exist in broker-2 anymore; Run a test, sending messages to broker-2 to queue Test.Q.2 (the consumer is still up in broker-1) : $ bin/artemis producer --user admin --password admin --destination Test.Q.2 --url tcp://localhost:61617 Confirm that the federation is not working anymore.

      Scenario:

      • 2 AMQ nodes;
      • Multiples federated queues in a symmetric topology;
      • One consumer for each federated queue connected to just one of the brokers;
      • If I open the web console of the brokers that the consumers are connected, I can see all the consumers there;
      • If I open the web console of the other broker, I can see the same consumers from before (the federation is working);
      • If I drop just one consumer from the broker, all the consumers from the other node are dropped. The federation is not working anymore.

              rhn-support-jbertram Justin Bertram
              Asouza@redhat.com Angelo Souza
              Dominik Lenosi Dominik Lenosi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: