예제 #1
0
        private static void addMessageCell(TableRowTag row, HandlerChain chain)
        {
            var messageCell = row.Cell().AddClass("message");

            messageCell.Add("h4").Text(chain.InputType().Name);
            messageCell.Add("p").Text(chain.InputType().Namespace);
        }
예제 #2
0
        public void Invoke()
        {
            try
            {
                _behavior.Invoke();
            }
            catch (Exception ex)
            {
                var message = _request.Get(_chain.InputType());

                if (message == null)
                {
                    _logger.Error(_envelope.CorrelationId, ex);
                }
                else
                {
                    _logger.Error(_envelope.CorrelationId, "Error trying to process " + message, ex);
                }

                _context.Continuation = DetermineContinuation(ex);
            }
        }
예제 #3
0
 private static void addMessageCell(TableRowTag row, HandlerChain chain)
 {
     var messageCell = row.Cell().AddClass("message");
     messageCell.Add("h4").Text(chain.InputType().Name);
     messageCell.Add("p").Text(chain.InputType().Namespace);
 }