Is it possible to arrange a call with one of the community support members so 
that I can ask one of our application owners to explain the issue in detail?

From: Haritha Desikan <hdesi...@spscommerce.com>
Date: Thursday, February 2, 2023 at 3:14 PM
To: users@activemq.apache.org <users@activemq.apache.org>
Subject: Re: Redelivered messages do not get transported to broker with 
consumers
Another issue I am seeing – the maximum redeliveries on a broker is set to 12 
before it is sent to DLQ but here (in screenshot) I am seeing the redeliveries 
have crossed the threshold but still messages are not sent to DLQ.

The Broker’s config has this setting :

  <plugins>
    <statisticsBrokerPlugin/>
    <redeliveryPlugin fallbackToDeadLetter="true" 
sendToDlqIfMaxRetriesExceeded="true">
      <redeliveryPolicyMap>
        <redeliveryPolicyMap>
          <redeliveryPolicyEntries>
            <redeliveryPolicy maximumRedeliveries="12" queue="&gt;"/>
          </redeliveryPolicyEntries>
        </redeliveryPolicyMap>
      </redeliveryPolicyMap>
    </redeliveryPlugin>
  </plugins>

From: Haritha Desikan <hdesi...@spscommerce.com>
Date: Thursday, February 2, 2023 at 2:35 PM
To: users@activemq.apache.org <users@activemq.apache.org>
Subject: Re: Redelivered messages do not get transported to broker with 
consumers
Can message consumers use the pooledConnectionFactory class? AWS Active MQ 
documentation specifically has this note “Message consumers should never use 
the PooledConnectionFactory class.”  Please advise.

From: Haritha Desikan <hdesi...@spscommerce.com>
Date: Thursday, February 2, 2023 at 2:05 PM
To: users@activemq.apache.org <users@activemq.apache.org>
Subject: Re: Redelivered messages do not get transported to broker with 
consumers
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://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspscommerce.slack.com%2Farchives%2FD048XJGHYAY%2Fp1675363556427969&data=05%7C01%7Chdesikan%40spscommerce.com%7C3ab3d2ceaaa74898aed008db05549aef%7C925b353530d64f8fb70fa7aa7e1b3445%7C0%7C0%7C638109633152860393%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=rxKAz5U8SfxYbcdk9%2FUHIm739ZDEND7KdXIg199n9Pg%3D&reserved=0<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspscommerce.slack.com%2Farchives%2FD048XJGHYAY%2Fp1675363556427969&data=05%7C01%7Chdesikan%40spscommerce.com%7Cc2c84e059a714c5a75cb08db0559ff36%7C925b353530d64f8fb70fa7aa7e1b3445%7C0%7C0%7C638109656453994524%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=XYubNmz0DDW%2B%2BwLERdy5FVf2yykb2LGWFnJLT59AyLw%3D&reserved=0>>
this lib is bundled
1:46<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspscommerce.slack.com%2Farchives%2FD048XJGHYAY%2Fp1675363577673069&data=05%7C01%7Chdesikan%40spscommerce.com%7C3ab3d2ceaaa74898aed008db05549aef%7C925b353530d64f8fb70fa7aa7e1b3445%7C0%7C0%7C638109633152860393%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=A8CJhbi%2FdZxHT%2Bp3H%2FzjRLXSrnVEaT7anEP%2FsjGINvs%3D&reserved=0<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspscommerce.slack.com%2Farchives%2FD048XJGHYAY%2Fp1675363577673069&data=05%7C01%7Chdesikan%40spscommerce.com%7Cc2c84e059a714c5a75cb08db0559ff36%7C925b353530d64f8fb70fa7aa7e1b3445%7C0%7C0%7C638109656453994524%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ztv5n0h0o3%2Bs3zsxBdDoOhOLjzSzvnQz7MBVlj8vsWg%3D&reserved=0>>
    <dependency>
      <groupId>org.apache.activemq</groupId>
      <artifactId>activemq-broker</artifactId>
    </dependency>
1:46<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspscommerce.slack.com%2Farchives%2FD048XJGHYAY%2Fp1675363583521729&data=05%7C01%7Chdesikan%40spscommerce.com%7C3ab3d2ceaaa74898aed008db05549aef%7C925b353530d64f8fb70fa7aa7e1b3445%7C0%7C0%7C638109633152860393%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=jcNQGeVoLjffC0hnYelnWLNhO9Hh1H1qOYPT6SZAnDY%3D&reserved=0<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspscommerce.slack.com%2Farchives%2FD048XJGHYAY%2Fp1675363583521729&data=05%7C01%7Chdesikan%40spscommerce.com%7Cc2c84e059a714c5a75cb08db0559ff36%7C925b353530d64f8fb70fa7aa7e1b3445%7C0%7C0%7C638109656453994524%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=nXOTLHQwetjk8P8%2F3FiN87BhYfS3otdgNz0eRKEr1EM%3D&reserved=0>>
version 5.16.4
1:47<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspscommerce.slack.com%2Farchives%2FD048XJGHYAY%2Fp1675363639193999&data=05%7C01%7Chdesikan%40spscommerce.com%7C3ab3d2ceaaa74898aed008db05549aef%7C925b353530d64f8fb70fa7aa7e1b3445%7C0%7C0%7C638109633152860393%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=BZBbF5u2R3EI%2BijZmupGcigxc59ai9pEcaIWc%2FlSAQw%3D&reserved=0<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspscommerce.slack.com%2Farchives%2FD048XJGHYAY%2Fp1675363639193999&data=05%7C01%7Chdesikan%40spscommerce.com%7Cc2c84e059a714c5a75cb08db0559ff36%7C925b353530d64f8fb70fa7aa7e1b3445%7C0%7C0%7C638109656453994524%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=0WRTNvx46PVFYE2kfgmgiWwjxxpRNlc8j9%2FCzCysYMA%3D&reserved=0>>
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