[rabbitmq-discuss] RabbitMQ queue durability question

Michael Klishin michael at rabbitmq.com
Tue Sep 3 11:18:41 BST 2013


Jan Jacobs:

> I am using the RabbitMQ plugin for Grails

Here's your problem. RabbitMQ Grails plugin uses two different constructors to
create a Queue instance (that comes from Spring-AMQP, as far as I can see):

https://github.com/grails-plugins/grails-rabbitmq/blob/master/src/groovy/org/grails/rabbitmq/RabbitQueueBuilder.groovy#L30

Now look at the single argument constructor in org.spring.amqp.core.Queue:
http://static.springsource.org/spring-amqp/api/org/springframework/amqp/core/Queue.html

It says "The queue is durable, non-exclusive and non auto-delete".

So looks like *some* of the time your Grails app was started without a config param that
led the Grails plugin to create a durable exchange.

MK



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130903/25b25fa2/attachment.pgp>


More information about the rabbitmq-discuss mailing list