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

AMQP: nack the message with requeue false when IgnoreWhenTaskNotRegistered #798

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

surendratiwari3
Copy link
Contributor

Description

This pull request addresses an issue related to the handling of AMQP based task messages when a task is not registered with the worker, and IgnoreWhenTaskNotRegistered is set. The existing logic is adjusted to correctly NACK the message with requeue=false in these scenarios.

Changes Made

  • Adjust the logic to properly NACK the AMQP message with requeue=false when IgnoreWhenTaskNotRegistered is true.

Impact

This fix ensures consistent and correct behavior in handling AMQP messages, especially in scenarios where tasks are not registered, and IgnoreWhenTaskNotRegistered is configured.

@surendratiwari3
Copy link
Contributor Author

@RichardKnop Please review

@surendratiwari3 surendratiwari3 changed the title AMQP: nack the message with requeue fales when IgnoreWhenTaskNotRegistered AMQP: nack the message with requeue false when IgnoreWhenTaskNotRegistered Jan 12, 2024
@surendratiwari3
Copy link
Contributor Author

@RichardKnop please check this also it's required bug fix.

@surendratiwari3
Copy link
Contributor Author

@RichardKnop Please check this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant