Ejemplo n.º 1
0
 public static Sink <T, Task> Create <T>(IAmqpSinkSettings <T> sourceSettings)
 {
     return(Sink.FromGraph(new AmqpSinkStage <T>(sourceSettings)));
 }
Ejemplo n.º 2
0
 public AmqpSinkStage(IAmqpSinkSettings <T> amqpSourceSettings)
 {
     In    = new Inlet <T>("AmqpSink.in");
     Shape = new SinkShape <T>(In);
     AmqpSourceSettings = amqpSourceSettings;
 }