private MessageFailedEventArgs GetMessageFailureEventArgs(MessageItem messageItem) { IMessage message = GetMessage(messageItem); return(new MessageFailedEventArgs(message, messageItem.DeliveryOption, this, messageItem.MessageFailureReason)); }
private MessageEventArgs GetMessageEventArgs(MessageItem messageItem) { IMessage message = GetMessage(messageItem); return(new MessageEventArgs(message, messageItem.DeliveryOption, this)); }
private MessageEventArgs GetMessageEventArgs(MessageItem messageItem, string topicName) { IMessage message = GetMessage(messageItem); return(new MessageEventArgs(message, messageItem.DeliveryOption, this, topicName)); }