protected override void ExecuteCore(Message messageData) { ExceptionMessage exceptionMessage = messageData.Get <ExceptionMessage>(); if (exceptionMessage.Is <HandledException>()) { console.WriteLine("Recoverable Exception"); } else { console.WriteLine("Unrecoverable Exception"); } }