Guest User

Untitled

a guest
Apr 18th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. 2018-04-18 12:42:15.409 [info] <0.5272.2> accepting AMQP connection <0.5272.2> (127.0.0.1:65155 -> 127.0.0.1:5672)
  2. 2018-04-18 12:42:15.460 [info] <0.5272.2> Connection <0.5272.2> (127.0.0.1:65155 -> 127.0.0.1:5672) has a client-provided name: Application
  3. 2018-04-18 12:42:15.461 [error] <0.5272.2> Error on AMQP connection <0.5272.2> (127.0.0.1:65155 -> 127.0.0.1:5672, state: starting):
  4. PLAIN login refused: user 'appserviceaccount' - invalid credentials
  5. 2018-04-18 12:42:15.464 [info] <0.5272.2> closing AMQP connection <0.5272.2> (127.0.0.1:65155 -> 127.0.0.1:5672 - Application)
  6.  
  7. var connFact = new RabbitMQ.Client.ConnectionFactory();
  8. connFact.HostName = "localhost";
  9. connFact.UserName = "appserviceaccount";
  10. connFact.Password = "XXXXXXX";
  11. connFact.VirtualHost = "/";
  12. Console.WriteLine("This is a Sender");
  13. try
  14. {
  15. using (var conn = connFact.CreateConnection("Application"))
  16. {
Add Comment
Please, Sign In to add comment