Exemple #1
0
        /// <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();
        }
Exemple #2
0
        /// <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);
        }
Exemple #3
0
        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));
        }
Exemple #4
0
        /// <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);
        }
Exemple #5
0
        /// <summary>
        /// This method returns a new sender.
        /// </summary>
        /// <returns>The sender.</returns>
        public override ISender GetSender()
        {
            var sender = new ManualChannelSender();

            return(AddSender(sender));
        }