Description of problem:
There is a defined standard amqp1.0 property: first-acquirer. The broker shall support setting this property accordingly.
If this value is true, then this message has not been acquired by any other link. If this value is false, then this message MAY have previously been acquired by another link or links.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
compile and run program:
using namespace std;
using namespace qpid::messaging;
int main(int argc, char ** argv)
if (argc > 1)
if (argc > 2)
for (unsigned i=0; i<2; i++)
Connection connection = Connection(broker, "
Session session = connection.createSession();
Receiver receiver = session.createReceiver(queue);
Message msg = receiver.fetch();
cout << "Properties: " << msg.getProperties() << endl;
first-acquirer property is not set by the broker
first-acquirer property is set to true by the broker in the first message, and unset (or set to false) in the second message