public void Subscribe()
 {
     _queueSubscriptionService.Subscribe((dto, props, token) => ProcessMessageAsync(dto, token), CancellationToken.None);
 }
Example #2
0
        public Task <string> OpenAsync(CancellationToken cancellationToken)
        {
            _queueSubscriptionService.Subscribe(Callback);

            return(Task.FromResult("Something"));
        }
Example #3
0
 public void Subscribe()
 {
     _queueSubscriptionService.Subscribe(ProcessDeadLetterMessageAsync, CancellationToken.None);
 }