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