internal override AggregateConsumingResult Reply(IInboundChannel inboundChannel, IOutboundChannel outboundChannel, IFallbackStrategy fallbackStrategy) { fallbackStrategy.Apply(outboundChannel, Message); return(base.Reply(inboundChannel, outboundChannel, fallbackStrategy)); }
internal override AggregateConsumingResult Reply(IInboundChannel inboundChannel, IOutboundChannel outboundChannel, IFallbackStrategy fallbackStrategy) { Message.Requeue(inboundChannel); return(this); }
internal virtual AggregateConsumingResult Reply(IInboundChannel inboundChannel, IOutboundChannel outboundChannel, IFallbackStrategy fallbackStrategy) { Message.Acknowledge(inboundChannel); return this; }
internal virtual AggregateConsumingResult Reply(IInboundChannel inboundChannel, IOutboundChannel outboundChannel, IFallbackStrategy fallbackStrategy) { Message.Acknowledge(inboundChannel); return(this); }
internal override AggregateConsumingResult Reply(IInboundChannel inboundChannel, IOutboundChannel outboundChannel, IFallbackStrategy fallbackStrategy) { Message.Requeue(inboundChannel); return this; }
internal AtMostOnceConsumerWrapper(IInboundChannel inboundChannel, IOutboundChannel outboundChannel, Queue queue, IConsumedMessageBuilder builder, ConsumingConfiguration configuration) : base(inboundChannel, outboundChannel, queue, builder, configuration) { }
public FakeConsumerBase(IInboundChannel inboundChannel, IOutboundChannel outboundChannel, Queue queue, IConsumedMessageBuilder builder, ConsumingConfiguration configuration) : base(inboundChannel, outboundChannel, queue, builder, configuration) { }
internal override ConsumerBase BuildConsumer(IInboundChannel inboundChannel, IOutboundChannel outboundChannel) { return(new LoggedAtLeastOnceConsumer(inboundChannel, outboundChannel, Queue, Builder, Configuration, LogBuilder())); }
internal override ConsumerBase BuildConsumer(IInboundChannel inboundChannel, IOutboundChannel outboundChannel) { return new LoggedAtLeastOnceConsumer(inboundChannel, outboundChannel, Queue, Builder, Configuration, LogBuilder()); }
internal LoggedAtLeastOnceConsumer(IInboundChannel inboundChannel, IOutboundChannel outboundChannel, Queue queue, IConsumedMessageBuilder builder, ConsumingConfiguration configuration, ILog log) : base(inboundChannel, outboundChannel, queue, builder, configuration) { _log = log; }
internal LoggedAtMostOnceConsumer(IInboundChannel inboundChannel, IOutboundChannel outboundChannel, Queue queue, IConsumedMessageBuilder builder, ConsumingConfiguration configuration, ILog log) : base(inboundChannel, outboundChannel, queue, builder, configuration) { _log = log; }
protected internal ConsumerBase(IInboundChannel inboundChannel, IOutboundChannel outboundChannel, Queue queue, IConsumedMessageBuilder builder, ConsumingConfiguration configuration) { InboundChannel = inboundChannel; OutboundChannel = outboundChannel; _queue = queue; _builder = builder; Configuration = configuration; ConsumerCancelled += OnConsumerCancelled; }
internal override AggregateConsumingResult Reply(IInboundChannel inboundChannel, IOutboundChannel outboundChannel, IFallbackStrategy fallbackStrategy) { fallbackStrategy.Apply(outboundChannel, Message); return base.Reply(inboundChannel, outboundChannel, fallbackStrategy); }
/// <summary> /// Required by ILogBus /// </summary> public void AddInboundChannel(IInboundChannel channel) { _target.AddInboundChannel(channel); }
/// <summary> /// Required by ILogBus /// </summary> public void RemoveInboundChannel(IInboundChannel channel) { _target.RemoveInboundChannel(channel); }
internal abstract ConsumerBase BuildConsumer(IInboundChannel inboundChannel, IOutboundChannel outboundChannel);
internal void Requeue(IInboundChannel inboundChannel) { inboundChannel.NegativeAcknowledge(Args.DeliveryTag, true); }
internal void Acknowledge(IInboundChannel channel) { channel.Acknowledge(Args.DeliveryTag); }