Uploaded image for project: '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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.14
    • 0.15
    • Broker-J
    • 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.

      Attachments

        Activity

          People

            kwall Keith Wall
            robbie Robbie Gemmell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: