Can I make RabbitMQ 3.4.1 create new DURABLE queue named "q123" when a STOMP client sends
SUBSCRIBE
destination: /amq/queue/q123
...
and use this queue for later subscriptions ?
Can I make RabbitMQ 3.4.1 create new DURABLE queue named "q123" when a STOMP client sends
SUBSCRIBE
destination: /amq/queue/q123
...
and use this queue for later subscriptions ?
Copyright © 2021 Jogjafile Inc.
You can't create new queue outside STOMP gateway. You can
SENDandSUBSCRIBEthem, but not create new one.STOMP may create it for you if you will refer to
/queue/<your-queue-name>in vhost specified by your STOMP plugin settings (by default it is standard/vhost).So such STOMP frame will create
new-random-onedurable queue in/vhost.Here is how to run it over raw shell (^@ stands for Ctrl+@, empty line before it matters):
So after that, even after disconnected, you'll see that
new-random-onequeue will still reside in default vhost.For more, read details on Destinations section of RabbitMQ STOMP Adapter manual page.