/// <summary> /// Gets the dead letter listener from the incoming manual listener. /// </summary> /// <param name="sender">The m listener.</param> /// <returns></returns> /// <exception cref="NotImplementedException"></exception> public static IListener GetDeadLetterListener(this ManualChannelSender sender) { var listener = new ManualChannelListener(); throw new NotImplementedException(); }
/// <summary> /// This method adds a sender to the bridge. /// </summary> /// <returns>The sender.</returns> protected ISender AddSender(ManualChannelSender sender) { sender.OnProcess += Sender_OnProcess; mSenders.Add(sender); return(sender); }
public static C AttachManualSender <C>(this C cpipe , out ManualChannelSender sender , bool setFromChannelProperties = true) where C : IPipelineChannelOutgoing <IPipeline> { sender = new ManualChannelSender(); return(cpipe.AttachSender(sender, setFromChannelProperties)); }
/// <summary> /// This method adds a sender to the bridge. /// </summary> /// <returns>The sender.</returns> protected ISender AddSender(ManualChannelSender sender) { sender.OnProcess += Sender_OnProcess; sender.StatusChanged += Sender_StatusChanged; sender.Fabric = Fabric; mSenders.Add(sender); return(sender); }
/// <summary> /// This method returns a new sender. /// </summary> /// <returns>The sender.</returns> public override ISender GetSender() { var sender = new ManualChannelSender(); return(AddSender(sender)); }