Hi! Trying to set up broker redelivery, and was wondered really much on how that interacts with the default client side redelivery.
And now I seem to know, and this was pretty strange: You get both?! So, with setMaximumRedeliveries(2) on the broker, and without doing anything on the client, literally just setting up an ActiveMQConnectionFactory, I seem to get 7 attempts, then new 6 attempts, then 6 attempts, then DLQ. Breakpointing in the RedeliveryPlugin.java:143, this is confirmed: After the first 7 attempts, this breakpoint is hit, and the redeliveryCount == 0. After the next 6, new hit, redeliveryCount == 1, and then finally after 6 more, redeliveryCount == 2 and DLQ. Is this really to be expected? Do I actually need to set 0 redeliveries on the client connection to get proper broker controlled redelivery? I had hoped that the server-side setting of redelivery would override the client. Thanks, kind regards, Endre.