This is the reply I got from one of the app developers using these brokers.

<dependency>
    <groupId>org.apache.camel.springboot</groupId>
    <artifactId>camel-activemq-starter</artifactId>
</dependency>
1:45<https://spscommerce.slack.com/archives/D048XJGHYAY/p1675363556427969>
this lib is bundled
1:46<https://spscommerce.slack.com/archives/D048XJGHYAY/p1675363577673069>
    <dependency>
      <groupId>org.apache.activemq</groupId>
      <artifactId>activemq-broker</artifactId>
    </dependency>
1:46<https://spscommerce.slack.com/archives/D048XJGHYAY/p1675363583521729>
version 5.16.4
1:47<https://spscommerce.slack.com/archives/D048XJGHYAY/p1675363639193999>
2. I'm only testing a single instance of the the app and all 10 consumers are 
always on the same broker

________________________________
From: Justin Bertram <jbert...@apache.org>
Sent: Thursday, February 2, 2023 1:28:35 PM
To: users@activemq.apache.org <users@activemq.apache.org>
Subject: Re: Redelivered messages do not get transported to broker with 
consumers

[You don't often get email from jbert...@apache.org. Learn why this is 
important at https://aka.ms/LearnAboutSenderIdentification ]

What client library (or libraries) are your Java-based applications using?

Out of curiosity, how come you're using a network of 3 broker pairs if you
have so few consumers?


Justin

On Thu, Feb 2, 2023 at 12:09 PM Haritha Desikan <hdesi...@spscommerce.com>
wrote:

> Hi Justin,
>
> We are using broker version 5.17.2. All our clients are mostly Java based
> applications except for one python based app. We have 3 active/standby
> pairs of Active MQ brokers connected in this fashion – broker 1 has duplex
> connections to both broker 2 and broker 3 , broker 2 has one duplex
> connection to broker 3. We have a load balancer in the front that directs
> traffic to these three brokers.
> We notice that there is only one active consumer at a time on either one
> of the three brokers and the remaining two brokers have no consumers (only
> has network connectors that connects them to the other broker).
>
> This particular issue is only happening when messages are “redelivered” to
> a queue and the “JMXDeliveryCount” is more than 2. For example, lets say
> broker 3 has “redelivered” messages on queue X and then our app connects to
> broker 2, messages on broker 3 do not move to broker 2 (they just sit there
> and broker 2 does not receive any of the redelivered messages). However,
> after multiple attempts when our app finally connects to broker 3 (where
> redelivered messages are sitting), messages get consumed. This might not be
> a bigger issue for apps with multiple instances however we have apps with a
> single instance that could get affected by this issue.
>
> Please note that “messages” in the above paragraph refer to only
> “redelivered” messages.
>
>
> From: Justin Bertram <jbert...@apache.org>
> Date: Thursday, February 2, 2023 at 12:03 PM
> To: users@activemq.apache.org <users@activemq.apache.org>
> Subject: Re: Redelivered messages do not get transported to broker with
> consumers
> [You don't often get email from jbert...@apache.org. Learn why this is
> important at https://aka.ms/LearnAboutSenderIdentification ]
>
> What version of the broker are you using? What kinds of clients are you
> using? How are your brokers configured? What is the distribution of
> consumers across the queues in the cluster?
>
>
> Justin
>
> On Thu, Feb 2, 2023 at 10:57 AM Haritha Desikan <hdesi...@spscommerce.com>
> wrote:
>
> > Hi,
> >
> > Our company recently decided to make a shift to Active MQ. Our
> > infrastructure currently uses a mesh of three active/standby broker pairs
> > and we have been facing an issue with the brokers where redelivered
> > messages sitting on a queue in one particular broker are not being
> > transported to the broker with active consumers on it.
> >
> > Please provide some guidance/insight as to what can be done in such
> > scenarios.
> >
> > Thank you,
> > Haritha
> > Cloud Systems Engineer
> > SPS Commerce
> >
> >
>

Reply via email to