IAMQPWorker
sends ack
to broker immediately while IWorker
still running
#35
Labels
bug
Something isn't working
Ideally we would only like to see an
ack
sent when the message has been processed and theIWorker
is finished. This currently isn't the case. Since TheIWorker
is another thread which proceeds on its own, the callback set byonComplete
is executed as soon as theIAMQPWorker
finishes its call toIWorker::AddMessage
.Configure
IAMQPWorker
andIWorker
with either automaticack
byIAMQPWorker
or allowIWorker
to send theack
when it has finished.The text was updated successfully, but these errors were encountered: