rabbitmq / rabbitmq-stomp

RabbitMQ STOMP plugin
https://www.rabbitmq.com/stomp.html
Other
49 stars 28 forks source link

Generate queue names using compat function instead of term_to_binary. #116

Closed hairyhum closed 7 years ago

hairyhum commented 7 years ago

Fixes #115 Requires rabbitmq/rabbitmq-server#1262

It's unsafe to use term_to_binary to generate IDs like queue names, because it can change in future erlang versions. We cannot change queue generation algorithm, because queues can be durable and renaming a queue is non-trivial in RabbtiMQ. So we use the compat function.

hairyhum commented 7 years ago

Does not require rabbitmq/rabbitmq-server#1262 anymore Requires rabbitmq/rabbitmq-server#1268