node-amqp | node-amqp is an AMQP client for nodejs | Pub Sub library
kandi X-RAY | node-amqp Summary
kandi X-RAY | node-amqp Summary
[UNMAINTAINED] node-amqp is an AMQP client for nodejs
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Parse the frame buffer .
- Parses an 8 - bit buffer
- Read the header buffer from the buffer
- Read the next chunk in the buffer .
node-amqp Key Features
node-amqp Examples and Code Snippets
Community Discussions
Trending Discussions on node-amqp
QUESTION
I have this simple application that uses node-amqp10 to read messages from some subscriptions and process/accepts or rejects messages due to some error that might happen. My question is, is it possible for the consumer to set any additional property into the message when rejecting? (like DeadLetterError)
I've thought the receiverLink.reject would get the error parameter and set into the message automatically, but maybe this is not even possible (consumer setting properties into the message)
...ANSWER
Answered 2020-Dec-31 at 07:34I am assuming you are using Azure Service Bus based on the tag in your question. If you use @azure/service-bus
package instead, you have the option of updating properties of the message. Also while dead lettering you can provide deadLetterReason
and deadLetterErrorDescription
like below:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install node-amqp
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page