Exemplo n.º 1
0
 public RabbitListener(RabbitConnectionFactory connectionFactory, ISerializer serializer, string exchange)
 {
     _factory     = connectionFactory;
     _serializer  = serializer;
     _exchange    = exchange;
     _consumer    = new EventingBasicConsumer(_channel);
     _serviceName = typeof(TInterface).Name;
 }
Exemplo n.º 2
0
 public RabbitSender(RabbitConnectionFactory connectionFactory, ISerializer serializer, string exchange)
 {
     _factory    = connectionFactory;
     _exchange   = exchange;
     _serializer = serializer;
 }