Processes the given message exchange and returns a result.
The result of processing
The message exchange to process