Comments (8)
Not only they don't display the tag, they also don't work as they should ;)
Thanks for reporting this!
from amqplib.
You welcome. Btw, I think the similar problems may occur with other exchange/queue arguments. For example: deadLetterExchange - I have a huge suspicion it's not gonna work as expected too. Why not simply pass user-supplied 'arguments' object as is?
from amqplib.
I'm not familiar enough with the codebase to tell but perhaps the idea is to mass-convert keys right before sending the method? I agree that arguments
should probably be accepted as is. This way all new arguments-based features can be used without client modifications.
from amqplib.
Absolutely. Arguments are supposed to be used for vendor-specific extensions, so they should be left alone and passed as is.
from amqplib.
Yep, that's me tricking myself by trying to be too clever.
Why not leave these things in an arguments
table? Mainly because I wanted a consistent API which included RabbitMQ extensions, and explaining why some things go in options
and some things go in a field called arguments
in options
is awkward.
from amqplib.
@squaremo so, how do you want it to work?
from amqplib.
@michaelklishin Extensions get aliases in options
(as it is now, but working properly[1]). arguments
is still one of the options where it appears in the protocol.
One snag is what to do if something appears both in options
and options.arguments
, but I think the main thing is to be consistent.
I'll fix up [1] this afternoon.
from amqplib.
Fixed in 3749c66 I believe.
One snag is what to do if something appears both in options and options.arguments
Anything supplied in the arguments
field is superseded by a value passed as an option (by being shadowed; I no longer mutate the value passed in as arguments
, which was naughty)
from amqplib.
Related Issues (20)
- Consider removing `readable-stream`? HOT 1
- Fanout delivery acknowledgement on channel 1 timed out HOT 6
- Set a custom header before nack-ing a message HOT 5
- No Error emitted when Queue disappears or is deleted HOT 2
- SDK connecting without errors after RabbitMQ service is shut down HOT 9
- Error emitted before handler is attached causes "Unhandled 'error' event" HOT 3
- consume does not respect promises? HOT 5
- Trailing dot in URL causes TLS failure HOT 2
- docs: channel api github page has broken top links HOT 2
- docs: confusing and inconsistent usage of terms "bork", "splode", "close" HOT 7
- global prefetch become 0 if per-consume prefetch set HOT 2
- ERR_SSL_EMS_NOT_ENABLED HOT 6
- How to determine if channel.ack() is successful? HOT 2
- CPU intensive controller prevents AMQP connection from receiving heartbeat, hence connections gets closed. HOT 2
- How to know if message is published ? HOT 6
- Aborting a Message Processing when RMQ Channel Closes HOT 8
- I'm encountering an "Unexpected close" error HOT 2
- Module not found: Can't resolve 'querystring' HOT 2
- Feature: Add support for AMQP 0.9.1 "update-secret" HOT 11
- 501 (FRAME-ERROR) - after indeterminate amount of large messages HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amqplib.