mxriverlynn / rabbus

A micro-service bus with built-in messaging patterns, for NodeJS and RabbitMQ
116 stars 26 forks source link

How do I use custom headers for exchanges and when sending messages? #36

Open jnystrom opened 7 years ago

jnystrom commented 7 years ago

I am trying to use a plugin: https://github.com/rabbitmq/rabbitmq-delayed-message-exchange, to handle delayed message scheduling. This plugin needs custom headers on the message, as well as on the exchange when it is created.

exchange:

message:

I am using send/receive pattern with rabbus, what is the best way to set these values?