Ejemplo n.º 1
0
        public Task Send(ExceptionReceiveContext context)
        {
            void PreSend(SendMessageRequest sendMessageRequest, IDictionary <string, MessageAttributeValue> headers)
            {
                _headerAdapter.SetExceptionHeaders(headers, context);
            }

            return(Move(context, PreSend));
        }
 public static void SetExceptionHeaders(this IDictionary <string, object> dictionary, ExceptionReceiveContext exceptionContext)
 {
     _adapter.SetExceptionHeaders(dictionary, exceptionContext);
 }