public Object buildMessagePayload ( TestContext context , String messageType ) { this . getMessageInterceptors ( ) . add ( gzipMessageConstructionInterceptor ) ; this . getMessageInterceptors ( ) . add ( binaryMessageConstructionInterceptor ) ; return getPayloadContent ( context , messageType ) ; }
Build the control message from payload file resource or String data .