Ejemplo n.º 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);
        }
Ejemplo n.º 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);
            }
        }
Ejemplo n.º 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);
 }