Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-669

proton-c: Messenger abstracts away connections, but it would be useful to fail fast for auth errors etc.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-0.7
    • proton-0.8
    • proton-c
    • None

    Description

      As previously discussed on the mailing list under "Using the messenger API to connect to a server without sending or subscribing"

      Messenger doesn't provide a way of requesting a connection. Messenger has been designed to abstract away the notion of establishing connections from the user, but we would like to fail fast in those situations and return authentication errors (e.g.,) to the user. Rafa suggested that we could add an option to messenger to enable the checking of routes at startup, which is what the attached patch intends to do.

      Attachments

        Activity

          People

            rhs Rafael H. Schloming
            dnwe Dominic Evans
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: