4 Replies Latest reply on Mar 9, 2009 1:29 PM by garthpatil

    Orphaned messages using a network of brokers

    garthpatil

      Using only the example code, the 5.2.0 release can be made to distribute messages to brokers with no consumers, which remain at those brokers and are never consumed, unless a consumer later connects specifically to those brokers. The defect is described in detail here:

      https://issues.apache.org/activemq/browse/AMQ-2135

       

      Reaching out to the FUSE community to see if anyone has seen this problem, or knows how to fix it. I have been able to recreate this problem this problem on both the FUSE 5.2.0.2 distribution and the ActiveMQ 5.2 distribution.

       

      Thanks,

      Garth

        • 1. Re: Orphaned messages using a network of brokers
          socallag

          Hi Garth,

           

          I've been able to reproduce the problem using your instructions on https://issues.apache.org/activemq/browse/AMQ-2135.

           

          It looks as if Eric Chu has tracked down the cause of the issue.

           

          We will have see if we can get an engineer to take a look at what will be required to fix this.

           

          Seán

          • 2. Re: Orphaned messages using a network of brokers
            garthpatil

            Hi Seán,

            Thanks for looking into this. According to some of the other posts by Eric Chu, this appears to be just the entrance to a rabbit-hole of bugs. That the ActiveMQ developers appear to be basically avoiding the issue, and not even acknowledging the existence nor severity of this bug gives me pause. However, after looking at the huge number of critical bugs, both unaddressed and unassigned, in their queue, I'm not surprised that this hasn't been given priority. My guess is that most people using ActiveMQ are doing so in single broker or embedded setups for toy applications that do not have real performance or availability demands. After some more research, it looks like there are some other great options out there that solve our problems more appropriately.

            Thanks for your help.

            Best,

            Garth

            • 3. Re: Orphaned messages using a network of brokers
              socallag

              Hi Garth,

               

              I've attached a unit testcase to https://issues.apache.org/activemq/browse/AMQ-2135 to help reproduce and debug the issue a little more easily.

               

              FUSE Message Broker can and is most definitely used for more than "toy applications". Sabre are using it.

               

              Regards,

               

              Seán.

              • 4. Re: Orphaned messages using a network of brokers
                garthpatil

                Hi Seán,

                Thanks for creating the unit test.

                Sabre sounds very impressive. Are they using version 5.x with a network of brokers topology? Are there examples of topologies/configurations that other users have that use a network of brokers in a high-throughput environment and don't have the orphaned messages problem? If someone could share a configuration that doesn't have this problem, that would be very useful.

                Best,

                Garth