Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-5288

Return proper error codes to MQTT client on failed connect.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.10.0
    • 5.11.0
    • MQTT
    • None

    Description

      Currently the MQTT protocol converter doesn't really try to map connection error into the MQTT spec codes. We need to distinguish between bad client Ids and authentication issues. We should return codes that match these error conditions

      InvalidClientIdException - 0x02 Connection Refused, identifier rejected
      CredentialException - 0x04 Connection Refused, bad user name or password
      SecurityException - 0x05 Connection Refused, not authorized

      Attachments

        Activity

          People

            Unassigned Unassigned
            tabish Timothy A. Bish
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: