<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Michael,<br>
<br>
Many thanks for the feedback.<br>
<br>
I re-tested and found that the Grails client is the one that
creates the queue with the durability set to true.<br>
<br>
I will report this to the grails-rabbitmq maintainers.<br>
<br>
Thanks<br>
Jan <br>
<br>
On 03/09/2013 12:29, Michael Klishin wrote:<br>
</div>
<blockquote
cite="mid:8EE1D556-9D60-4AA3-91C5-B595BF984021@rabbitmq.com"
type="cite">
<pre wrap="">Michael Klishin:
</pre>
<blockquote type="cite">
<pre wrap="">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):
<a class="moz-txt-link-freetext" href="https://github.com/grails-plugins/grails-rabbitmq/blob/master/src/groovy/org/grails/rabbitmq/RabbitQueueBuilder.groovy#L30">https://github.com/grails-plugins/grails-rabbitmq/blob/master/src/groovy/org/grails/rabbitmq/RabbitQueueBuilder.groovy#L30</a>
Now look at the single argument constructor in org.spring.amqp.core.Queue:
<a class="moz-txt-link-freetext" href="http://static.springsource.org/spring-amqp/api/org/springframework/amqp/core/Queue.html">http://static.springsource.org/spring-amqp/api/org/springframework/amqp/core/Queue.html</a>
It says "The queue is durable, non-exclusive and non auto-delete".
</pre>
</blockquote>
<pre wrap="">
Jan,
Please report this to grails-rabbitmq maintainers [1] with a link to this
thread [2]. They should stop using the 1-argument Queue constructor
and provide default arguments explicitly.
1. <a class="moz-txt-link-freetext" href="http://jira.grails.org/browse/GPRABBITMQ">http://jira.grails.org/browse/GPRABBITMQ</a>
2. <a class="moz-txt-link-freetext" href="http://rabbitmq.1065348.n5.nabble.com/RabbitMQ-queue-durability-question-td29296.html">http://rabbitmq.1065348.n5.nabble.com/RabbitMQ-queue-durability-question-td29296.html</a>
MK
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<img src="cid:part1.07070204.08030605@econsys.co.za" border="0"></div>
</body>
</html>