Contact Us 1-800-596-4880

Protocol Types

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

<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.