RabbitMQConfigModel.cs 765 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace FCS.Crawler.Tools.RabbitMQ
  6. {
  7. /// <summary>
  8. /// 链接服务器配置
  9. /// </summary>
  10. public class RabbitMQConfigModel
  11. {
  12. public string IP { get; set; }
  13. public string UserName { get; set; }
  14. public string PassWord { get; set; }
  15. public string Port { get; set; }
  16. public string VirtualHost { get; set; }
  17. public bool DurablQqueue { get; set; }
  18. public string QueueName { get; set; }
  19. public string ExchangeName { get; set; }
  20. public string ExchangeType { get; set; }
  21. public bool DurableMessage { get; set; }
  22. public string RoutingKey { get; set; }
  23. }
  24. }