[rabbitmq-discuss] Creating mirrored queues via STOMP

Steve Powell steve at rabbitmq.com
Thu Oct 20 15:53:13 BST 2011

Hi Toby,

Unfortunately it is not possible to set ha policy or ttl
settings on a rabbit STOMP-created queue. [1] [2]

However, it is possible to send to and subscribe from
a queue created in AMQP using /amq/queue/<name>
destinations in STOMP.  These queues can have any of the
rabbit-supported properties.

We currently have an enhancement under discussion that
puts these headers on SUBSCRIBE or SEND, so that the 
STOMP adapter can create the right sort of queue; but
we are not sure what to do if the header values disagree
on two commands referring to the "same" queue.

The STOMP protocol design makes it hard to define queue
properties, as opposed to message properties, since
queue-creation is implicit and conditional.  It would be
a surprise if one application sets a queue property and 
another removes it or resets it (or fails if the property
is different).

A description of your application which requires this
would help us with future design.

Steve Powell  (a happy bunny)
----------some definitions from the SPD----------
Rigatoni n. A prime-ministerial grin.
Nigella n. The next bottle-size up from a Nebuchadnezzar.
Homily adv. Rather like a frenchman.

> [1] [rabbitmq-discuss] STOMP & expiration
> [2] [rabbitmq-discuss] Creating mirrored queues via STOMP

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20111020/e26eaec3/attachment.htm>

More information about the rabbitmq-discuss mailing list