Class LogOutput

All Implemented Interfaces:
Command<ChenileExchange>

public class LogOutput extends BaseChenileInterceptor
Logs the output from the response object. This is required if the service is asynchronous i.e. its response is not emitted back but needs to be used to keep track of success and failure by logging the response into some medium (such as files, queues, topics etc.)
The original entry point (that constructed the ChenileExchange) can give us a callback to invoke or can ask us to log into a file. That can then be used to transmit the status to the original caller or displayed in a UI.