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

add option to disable the SASL layer when using the Reactor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-j-0.22.0
    • proton-j-0.23.0
    • proton-j
    • None
    • N/A

    Description

      In order for my application to use Proton-j for amqps messaging, the Sasl layer cannot be created by the global handler (IOHandler) at CONNECTION_LOCAL_OPEN time. The code below breaks our ability to use proton-j for amqps messaging as a CLIENT against our service.

      ...
      sasl = transport.sasl();
      sasl.client();
      sasl.setMechanisms("ANONYMOUS");
      ...

      I need these three lines of code to be optional in the global handler, or for a new API that allows a transport implementation to undo creating the Sasl layer.

      Something like:

      ....
      Transport transport = event.getConnection().getTransport();
      transport.disableSasl();
      ....

      The service I am hitting against is not using Proton-j as the SERVER role.

      Attachments

        Issue Links

          Activity

            People

              robbie Robbie Gemmell
              timtay Tim Taylor
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 8h
                  8h
                  Remaining:
                  Remaining Estimate - 8h
                  8h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified