Acknowledge all the messages in messages
.
Once the messages have been acked, callback
will be called. You can then call ack_messages_async.end
to get the result of the operation.
You should use the SignalledMessage received from dup_pending_messages or the message_received signal.
See ack_message_async about acknowledging messages.
this | |
messages |
a List of SignalledMessage |
callback |
a callback to call when the message have been acked |
user_data |
data to pass to |