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.
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.