[Java broker] improve exception message when attempt is made to redeclare an
exchange with a different type on a 0-10 connection
--------------------------------------------------------------------------------------------------------------------------------
Key: QPID-3837
URL: https://issues.apache.org/jira/browse/QPID-3837
Project: Qpid
Issue Type: Improvement
Components: Java Broker
Affects Versions: 0.14
Reporter: Robbie Gemmell
Assignee: Robbie Gemmell
Priority: Minor
Fix For: 0.15
Improve exception message when attempt is made to redeclare an exchange with a
different type on a 0-10 connection.
Curently when attempting to do so the exception is fairly vauge, saying "Cannot
redeclare with a different exchange type", whereas the equivalent message for
0-9-1 connections is something more helpful like: "Attempt to redeclare
exchange: amq.topic of type topic to fanout". The 0-10 message should be
brought in line with the 0-9-1 message for clarity and consistency.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]