node-bunnymq icon indicating copy to clipboard operation
node-bunnymq copied to clipboard

Adding RabbitMQ Exchange Support Context for Publishing messages to a named Exchange

Open jay-johnson opened this issue 8 years ago • 0 comments

This functionality will allow for sending and publishing messages using Topic Exchanges for the purposes of routing decisions that allow for sending messages into a common exchange that RabbitMQ can then automatically route to an entirely RabbitMQ broker.

https://www.rabbitmq.com/tutorials/tutorial-five-python.html

https://github.com/dial-once/node-bunnymq/blob/develop/src/modules/producer.js#L92

similar to Python's pika library:

self._channel.basic_publish(self.EXCHANGE, self.ROUTING_KEY,
                                    json.dumps(message, ensure_ascii=False),
                                    properties)```

jay-johnson avatar Jan 14 '17 00:01 jay-johnson