I have a quick question around passing tokens for SASL plain using Golang.

  *   Goal – Pass SASL PLAIN TOKENS with URL

  *   Question 1 – Does anyone have an example or guidance about how to do it?

  *   Question 2 – If not, is there a good example to draw from to implement it?

  *   Golang Link that I tried - 
https://github.com/apache/qpid-proton/blob/master/examples/go/electron/send.go

  *   The Syntax in Golang that failed – container.Dial(“tcp”, 
“amqps://USER:PASSWORD@ENDPOINT:5671/ENTITY”)

  *   Error from runtime when executing send.go – “Too many colons in URL”

  *   Attempted Fix – see Note 1 below



Note 1

The recommendation is to use square brackets as follows. But they did not solve 
the issue.

amqps://[RootManageSharedAccessKey:[email protected]]:5671/layerqueue



Any guidance is greatly appreciated.



Bruno

Reply via email to