Qpid
  1. Qpid
  2. QPID-3837

[Java broker] improve exception message when attempt is made to redeclare an exchange with a different type on a 0-10 connection

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.14
    • Fix Version/s: 0.15
    • Component/s: Java Broker
    • Labels:
      None

      Description

      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.

        Activity

        Robbie Gemmell created issue -
        Robbie Gemmell made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Robbie Gemmell made changes -
        Status In Progress [ 3 ] Ready To Review [ 10006 ]
        Robbie Gemmell made changes -
        Assignee Robbie Gemmell [ gemmellr ] Keith Wall [ k-wall ]
        Keith Wall made changes -
        Status Ready To Review [ 10006 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Rob Godfrey made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Keith Wall
            Reporter:
            Robbie Gemmell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development