Both in the inbound and outbound cases, it is useful to be able to access the payload of a message. You can only access the payload once the message has been sent or once it has been received (you might want to archive the sent message, for example).
You can have the system return the payload of the message at both the sender and receiver. Use methods of the messageSpecifier interface to do this:
...
1. Access the MessageSpecifierinterface after the message has been sent (see MessageSpecifier Interface).
2. You can return the corresponding payload as String with the MessageSpecifier methods getOutputPayload() and getInputPayload() (the sender proxy does not return anything for getInputPayload() in asynchronous communication because asynchronous message interfaces do not have a return value).