Skip to content

As a library user I want to decide if accepting the message or not #44

@apietroni51

Description

@apietroni51

In the consumer, I want to use the message context to decide if I'm accepting, rejecting, requeuing... the message.

const consumer = await connection.createConsumer("queue-name", (context, message) => {
            context.accept()
            console.log(message.body)
})

Metadata

Metadata

Assignees

Labels

todoNext feature to implement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions