Nav
You are viewing an older version of this section. Click here to navigate to the latest version.

Protocol Types

PROTOCOL-TYPE defines how messages in Mule are reconstituted from the data packets. The protocol types are:


       
    
1
<tcp:direct-protocol payloadOnly="true" rethrowExceptionOnRead="true"/><tcp:eof-protocol payloadOnly="true" rethrowExceptionOnRead="true"/><tcp:length-protocol payloadOnly="true" maxMessageLength="1024" rethrowExceptionOnRead="true"/><tcp:xml-protocol rethrowExceptionOnRead="true"/><tcp:xml-eof-protocol rethrowExceptionOnRead="true"/><tcp:streaming-protocol rethrowExceptionOnRead="true"/><tcp:safe-protocol payloadOnly="true" maxMessageLength="1024" rethrowExceptionOnRead="true"/><tcp:custom-class-loading-protocol classLoader-ref="classLoaderBean" payloadOnly="true" maxMessageLength="1024" rethrowExceptionOnRead="true"/><tcp:custom-protocol class="com.mycompany.MyProtocol" rethrowExceptionOnRead="true"/>

If no protocol is specified, safe-protocol is used.