qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Wall (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-6361) [0-8..0-091] Active queue declare no longer to validate queue durability
Date Wed, 04 Feb 2015 14:59:35 GMT
Keith Wall created QPID-6361:
--------------------------------

             Summary: [0-8..0-091] Active queue declare no longer to validate queue durability

                 Key: QPID-6361
                 URL: https://issues.apache.org/jira/browse/QPID-6361
             Project: Qpid
          Issue Type: Improvement
          Components: Java Broker
            Reporter: Keith Wall
            Assignee: Keith Wall
             Fix For: 0.31


Currently on the [0-8..0-91] path in the Java Broker, queue.declare with an argument of passive
false will close the channel if the queue already exists but has different durability.   The
message is "cannot re-declare queue qqqqq with different durability (was: xxxxx requested
yyyyy)". 

As the default behaviour of the AMQP JMS Client 0-8..0-91 is to automatically declare queues
as a side effect of consumer creation, this effectively means that the knowledge of a queue's
required durability needs to be spread across all applications.  For installations typical
of large installations, this is operationally inconvenient and inflexible.

The relevant AMQP specifications make no statements regarding the required behaviour of an
active queue.declare if the queue already exists with a different durability.

This change will remove the validation.  In future, if the queue already exists, the queue
declare will succeed even if durability is different.  The validations around exclusivity,.
auto-delete, and the non-passive flag are unaffected by this change.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message