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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.14
    • Fix Version/s: 0.15
    • Component/s: Broker-J
    • 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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: