Why are MRG messages acquired during the periodical purging?

Solution In Progress - Updated -

Issue

The expired messages can be removed from the broker in two different ways:
1) Using the periodical check
2) When a consumer attempts to receive them

When the messages are removed by the periodical check, they seem to be first acquired before being discarded:

acquires               100000
discardsTtl            100000

But when they are removed while a consumer tries to consume them, the "acquires" statics doesn't change:

acquires               0
discardsTtl            100000

Is there some reason why the messages are acquired only by the periodical check? Is that a bug?

Environment

Red Hat Enterprise MRG Messaging 3.0
- qpid-cpp-server of version 0.22-49

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.