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