-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add ability to set message headers #57
Comments
What about sending |
How would you implement that in non-AMQP? By extending message body? |
Metadata may be converted to message body as an additional structure
for non-AMQP brokers
or just
|
Won't that mean that you won't be able to process message the same way in these cases? |
It may be encapsulated into drivers. The queue api is clear and simple as it is at now. Headers will be added into the body only when drivers decides that it's broker doesn't support headers. |
Yes, that could work. |
AMQP protocol allows to set message headers. Let's discuss necessity of adding this ability to the package.
Plus: it's very handy to store some metadata like metrics.
Minus: it's AMQP-specific feature, not available in other queue adapters.
The text was updated successfully, but these errors were encountered: