Guest User

Untitled

a guest
Mar 3rd, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. connection = pika.BlockingConnection(pika.ConnectionParameters('192.168.1.109',5672,credentials))
  2.  
  3. var factory = new ConnectionFactory { HostName = "x.x.x.x" };
  4. //var factory = new ConnectionFactory { HostName = "mypi.ddns.net" };
  5. factory.VirtualHost = "/";
  6. factory.UserName = "puru";
  7. factory.Password = "Welcome1";
  8. factory.Protocol = Protocols.AMQP_0_9_1;
Add Comment
Please, Sign In to add comment