Esempio n. 1
0
 Task ConsumeContext.NotifyConsumed <T>(ConsumeContext <T> context, TimeSpan duration, string consumerType)
 {
     return(_context.NotifyConsumed(context, duration, consumerType));
 }
Esempio n. 2
0
 Task ConsumeContext.NotifyFaulted <T>(ConsumeContext <T> context, TimeSpan duration, string consumerType, Exception exception)
 {
     return(_context.NotifyFaulted(context, duration, consumerType, exception));
 }
Esempio n. 3
0
        public MessageConsumeContext(ConsumeContext context, TMessage message)
        {
            _context = context;

            Message = message;
        }
Esempio n. 4
0
 bool ConsumeContext.TryGetMessage <T>(out ConsumeContext <T> consumeContext)
 {
     return(_context.TryGetMessage(out consumeContext));
 }
Esempio n. 5
0
 public abstract bool TryGetMessage <T>(out ConsumeContext <T> consumeContext)
     where T : class;
 public RescueExceptionConsumeContext(ConsumeContext <TMessage> context, Exception exception)
     : base(context)
 {
     _exception = exception;
 }
 public ConsumeSendEndpoint(ISendEndpoint endpoint, ConsumeContext context, Guid?requestId)
     : base(endpoint)
 {
     _context   = context;
     _requestId = requestId;
 }
Esempio n. 8
0
 public virtual Task NotifyConsumed <T>(ConsumeContext <T> context, TimeSpan duration, string consumerType)
     where T : class
 {
     return(ReceiveContext.NotifyConsumed(context, duration, consumerType));
 }
 public RedeliveryRetryConsumeContext(ConsumeContext <T> context, IRetryPolicy retryPolicy, RetryContext retryContext)
     : base(context, retryPolicy, retryContext)
 {
 }
Esempio n. 10
0
 public SagaQueryConsumeContextScope(ConsumeContext <TMessage> context, ISagaQuery <TSaga> query, params object[] payloads)
     : base(context, payloads)
 {
     _query = query;
 }
Esempio n. 11
0
 public SagaQueryConsumeContextScope(ConsumeContext <TMessage> context, ISagaQuery <TSaga> query)
     : base(context)
 {
     _query = query;
 }
Esempio n. 12
0
 public ConsumeSendEndpointPipe(ConsumeContext consumeContext, IPipe <SendContext <TMessage> > pipe, Guid?requestId)
 {
     _consumeContext = consumeContext;
     _pipe           = pipe;
     _requestId      = requestId;
 }
Esempio n. 13
0
 public FaultPipe(ConsumeContext <T> context)
 {
     _context = context;
 }