Skip to content

Reject message #200

Open
Open
@andreieuganox

Description

@andreieuganox

Describe the bug
It is not the bug per se..but there is currently no way to send the message explicitly to the DLQ. For any reason, consumers must be able to notify the broker that this message can not be processed, sending the message to DLQ. The application decides the message can never be processed (for example, the context subject has no permission to perform this operation), meaning retry will not work, even if you do that 1000 times.

To Reproduce
I can use message.ack to acknowledge the message that considers it to be executed.

Expected behavior
Any event/queue consumer must be able to explicitly reject the message, letting the broker know that this message can not be processed and send it to DLQ. Currently, this can be achieved only based on schema - that is not the best practice.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions