public virtual void Handle(IDeliveryContext delivery)
		{
			Log.Debug("Channel message received, routing message to configured handlers.");

			using (var context = new DefaultHandlerContext(delivery))
				this.routingTable.Route(context, delivery.CurrentMessage);

			Log.Verbose("Channel message payload successfully delivered to all configured recipients.");
		}
Example #2
0
        public virtual void Handle(IDeliveryContext delivery)
        {
            Log.Debug("Channel message received, routing message to configured handlers.");

            using (var context = new DefaultHandlerContext(delivery))
                this.routingTable.Route(context, delivery.CurrentMessage);

            Log.Verbose("Channel message payload successfully delivered to all configured recipients.");
        }
		protected static void TryBuild(IDeliveryContext delivery)
		{
			Try(() => handlerContext = new DefaultHandlerContext(delivery));
		}
 protected static void TryBuild(IDeliveryContext delivery)
 {
     Try(() => handlerContext = new DefaultHandlerContext(delivery));
 }