modules/citrus-java-dsl/src/main/java/com/consol/citrus/dsl/builder/SendMessageBuilder.java
public T messageType(String messageType) {
        this.messageType = messageType;
        getAction().setMessageType(messageType);

        if (binaryMessageConstructionInterceptor.supportsMessageType(messageType)) {
            getMessageContentBuilder().add(binaryMessageConstructionInterceptor);
        }

        if (gzipMessageConstructionInterceptor.supportsMessageType(messageType)) {
            getMessageContentBuilder().add(gzipMessageConstructionInterceptor);
        }

        return self;
    }
/**
     * Sets a explicit message type for this send action.
     * @param messageType The message type to send the message in
     * @return The modified send message
     */
Sets a explicit message type for this send action.
@param messageType The message type to send the message in
@return The modified send message
Sets a explicit message type for this send action . @param messageType The message type to send the message in @return The modified send message
public T messageType(String messageType) {
        this.messageType = messageType;
        getAction().setMessageType(messageType);
        if (binaryMessageConstructionInterceptor.supportsMessageType(messageType)) {
            getMessageContentBuilder().add(binaryMessageConstructionInterceptor);
        }
        if (gzipMessageConstructionInterceptor.supportsMessageType(messageType)) {
            getMessageContentBuilder().add(gzipMessageConstructionInterceptor);
        }
        return self;
    }
public T messageType ( String messageType ) { this . messageType = messageType ; getAction ( ) . setMessageType ( messageType ) ; if ( binaryMessageConstructionInterceptor . supportsMessageType ( messageType ) ) { getMessageContentBuilder ( ) . add ( binaryMessageConstructionInterceptor ) ; } if ( gzipMessageConstructionInterceptor . supportsMessageType ( messageType ) ) { getMessageContentBuilder ( ) . add ( gzipMessageConstructionInterceptor ) ; } return self ; }
Sets a explicit message type for this send action.
Sets a explicit message type for this send action .