Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
proton-j-0.22.0
-
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
- links to