Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IAMQPWorker sends ack to broker immediately while IWorker still running #35

Open
mathemaphysics opened this issue Jun 9, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@mathemaphysics
Copy link
Owner

Ideally we would only like to see an ack sent when the message has been processed and the IWorker is finished. This currently isn't the case. Since The IWorker is another thread which proceeds on its own, the callback set by onComplete is executed as soon as the IAMQPWorker finishes its call to IWorker::AddMessage.

Configure IAMQPWorker and IWorker with either automatic ack by IAMQPWorker or allow IWorker to send the ack when it has finished.

@mathemaphysics mathemaphysics self-assigned this Jun 9, 2022
@mathemaphysics mathemaphysics added the bug Something isn't working label Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant