@Alias(value="xml-message-eof-protocol") @XmlHints(allowTopLevelDefinition=true) public class XmlMessageEOFProtocol extends XmlMessageProtocol
XmlMessageProtocol to continue reading until either a new message or EOF is found.EOF, NO_MAX_LENGTH, NO_STREAM, objectSerializer, rethrowExceptionOnRead, STREAM_OK, streamOk| Constructor and Description |
|---|
XmlMessageEOFProtocol() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isRepeat(int patternIndex,
int len,
int available)
Continue reading til EOF or new document found
|
read, writecopy, copy, nullIfEmptyArray, safeRead, safeRead, setObjectSerializer, writeByteArrayprotected boolean isRepeat(int patternIndex,
int len,
int available)
isRepeat in class XmlMessageProtocolpatternIndex - The index of the xml tag (or -1 if the next message not found)len - The amount of data read this loop (or -1 if EOF)available - The amount of data available to readXmlMessageEOFProtocolCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.