I am unable to Publish a message to Solace broker via AMQP in .Net
Solace is running in my windows10 docker and i have configured to use 5670 port for AMQP.
when i try to connect without user name and password amqp://localhost:5670 it will connect but not able to send the message error i am getting is "Amqp.AmqpException: 'The transport 'TcpTransport' is closed.'".
if i connect using username and password i am getting error as Amqp.AmqpException: 'Sasl negotiation failed with code Auth.'
I am new to the solace please let me know how to resolve .
anything i need to change in configuration ?
Address address = new Address("amqp://localhost:5670");
Connection connection = new Connection(address); Session session = new Session(connection); Message message = new Message("Hello AMQP!"); SenderLink sender = new SenderLink(session, "sender-link", "q1"); sender.Send(message); Console.WriteLine("Sent Hello AMQP!"); sender.Close(); session.Close(); connection.Close();