Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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)
- 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
- 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):
- PLAIN login refused: user 'appserviceaccount' - invalid credentials
- 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)
- var connFact = new RabbitMQ.Client.ConnectionFactory();
- connFact.HostName = "localhost";
- connFact.UserName = "appserviceaccount";
- connFact.Password = "XXXXXXX";
- connFact.VirtualHost = "/";
- Console.WriteLine("This is a Sender");
- try
- {
- using (var conn = connFact.CreateConnection("Application"))
- {
Add Comment
Please, Sign In to add comment