public RawRabbitConfiguration()
 {
     RequestTimeout         = TimeSpan.FromSeconds(10);
     PublishConfirmTimeout  = TimeSpan.FromSeconds(1);
     PersistentDeliveryMode = true;
     AutoCloseConnection    = true;
     AutomaticRecovery      = true;
     TopologyRecovery       = true;
     RouteWithGlobalId      = true;
     RecoveryInterval       = TimeSpan.FromSeconds(10);
     GracefulShutdown       = TimeSpan.FromSeconds(10);
     Ssl = new SslOption {
         Enabled = false
     };
     Hostnames = new List <string>();
     Exchange  = new GeneralExchangeConfiguration
     {
         AutoDelete = false,
         Durable    = true,
         Type       = ExchangeType.Topic
     };
     Queue = new GeneralQueueConfiguration
     {
         Exclusive  = false,
         AutoDelete = false,
         Durable    = true
     };
     VirtualHost = "/";
     Username    = "******";
     Password    = "******";
     Port        = 5672;
     Hostnames   = new List <string> {
         "localhost"
     };
 }
		public RawRabbitConfiguration()
		{
			RequestTimeout = TimeSpan.FromSeconds(10);
			PublishConfirmTimeout = TimeSpan.FromSeconds(1);
			PersistentDeliveryMode = true;
			AutoCloseConnection = true;
			AutomaticRecovery = true;
			TopologyRecovery = true;
			RecoveryInterval = TimeSpan.FromSeconds(10);

			Hostnames = new List<string>();
			Exchange = new GeneralExchangeConfiguration
			{
				AutoDelete = false,
				Durable = true,
				Type = ExchangeType.Direct
			};
			Queue = new GeneralQueueConfiguration
			{
				Exclusive = false,
				AutoDelete = false,
				Durable = true
			};
		}
 public RawRabbitConfiguration()
 {
     RequestTimeout = TimeSpan.FromSeconds(10);
     PublishConfirmTimeout = TimeSpan.FromSeconds(1);
     PersistentDeliveryMode = true;
     AutoCloseConnection = true;
     AutomaticRecovery = true;
     TopologyRecovery = true;
     RouteWithGlobalId = true;
     RecoveryInterval = TimeSpan.FromSeconds(10);
     GracefulShutdown = TimeSpan.FromSeconds(10);
     Ssl = new SslOption {Enabled = false};
     Hostnames = new List<string>();
     Exchange = new GeneralExchangeConfiguration
     {
         AutoDelete = false,
         Durable = true,
         Type = ExchangeType.Topic
     };
     Queue = new GeneralQueueConfiguration
     {
         Exclusive = false,
         AutoDelete = false,
         Durable = true
     };
 }
 public RawRabbitConfiguration()
 {
     Brokers = new List<BrokerConfiguration>();
     RequestTimeout = TimeSpan.FromSeconds(10);
     Exchange = new GeneralExchangeConfiguration
     {
         AutoDelete = false,
         Durable = true,
         Type = ExchangeType.Direct
     };
     Queue = new GeneralQueueConfiguration
     {
         Exclusive = false,
         AutoDelete = false,
         Durable = true
     };
 }
		public ExchangeUpdateConfiguration(GeneralExchangeConfiguration exchange) : base(exchange)
		{
			BindingTransformer = s => s;
		}