[rabbitmq-discuss] RabbitMQ stomp-adapter behaviour
Matthias Radestock
matthias at lshift.net
Wed Jun 10 19:17:19 BST 2009
Gavin,
Gavin M. Roy wrote:
> How about defaulting to auto-delete = true, but allowing one to override
> it in rabbitmq.conf:
>
> -rabbit
> stomp_listeners [{"0.0.0.0",61613}]
> queue_default_parameters [{"auto-delete: false"}]
> extra_startup_steps
> [{"STOMP-listeners",rabbit_stomp,kickstart,[]}]
IMO auto-delete=true gives undesirable results when queues are created
implicitly on SEND - messages would be queued until the first subscriber
arrives, but if that subscriber disappears before it has received all
the queued messages then the remaining messages are lost.
OTOH, auto-delete=false forces the user to step outside the confines of
STOMP and use ordinary AMQP operations if they ever want to delete the
implicitly created queues and thus free up server resources.
Matthias.
More information about the rabbitmq-discuss
mailing list