Hi, proton developers,

I'm using the qpid-proton-cpp library from ubuntu packages[1], and I
was wondering as for the interface `on_tracker_accept()` inside the
proton::messaging_handler, how can we learn which message tracker has
been accepted? I'm planning to integrate some callbacks for sent
messages.

>From the provided examples[1][2], the sender client only records how
many times `on_tracker_accept()` is called, however, [4] tells that we
can track a specific message is accepted or not. So how should a
sender invoke a specific callback for the sent message when dealing
with different  tracker states?

Please correct me if I'm wrong. And Thanks in advance.

Best,
Xu

[1] https://packages.ubuntu.com/focal/libqpid-proton-cpp12
[2] 
https://github.com/apache/qpid-proton/blob/main/cpp/examples/direct_send.cpp#L75
[3] 
https://github.com/apache/qpid-proton/blob/main/cpp/examples/simple_send.cpp#L81
[4] 
https://qpid.apache.org/releases/qpid-proton-0.34.0/proton/cpp/api/overview_page.html#autotoc_md8

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to