1
0
mirror of synced 2024-11-15 01:33:51 +00:00
PettingZoo/Model/ConnectionInfo.cs

29 lines
730 B
C#
Raw Normal View History

2016-06-18 14:50:32 +00:00
namespace PettingZoo.Model
{
public class ConnectionInfo
{
public string Host { get; set; }
public string VirtualHost { get; set; }
public int Port { get; set; }
public string Username { get; set; }
public string Password { get; set; }
2016-06-20 10:30:03 +00:00
public string Exchange { get; set; }
public string RoutingKey { get; set; }
public static ConnectionInfo Default()
{
return new ConnectionInfo
2016-06-20 10:30:03 +00:00
{
Host = "localhost",
Port = 5672,
VirtualHost = "/",
Username = "guest",
Password = "guest",
RoutingKey = "#"
};
}
2016-06-18 14:50:32 +00:00
}
}