BytesXMLMessage is
deprecated.public interface StreamXMLMessage extends XMLMessage
StreamXMLMessage is used to send a message with message
content acquired from an InputStream.XMLMessage.MessageUserPropertyConstants, XMLMessage.OutcomeMSGDUMP_BRIEF, MSGDUMP_FULL| Modifier and Type | Method and Description |
|---|---|
InputStream |
getStream()
Deprecated.
Get the
InputStream from which the message content can be read. |
void |
setStream(InputStream stream)
Deprecated.
Set the
InputStream from which the message content can be read. |
ackMessage, clearAttachment, clearContent, dump, dump, getApplicationMessageId, getApplicationMessageType, getAppMessageID, getAppMessageType, getAttachmentByteBuffer, getAttachmentContentLength, getCacheRequestId, getConsumerIdList, getContentLength, getCorrelationId, getCorrelationKey, getCos, getDeliverToOne, getDeliveryCount, getDeliveryMode, getDestination, getDestinationTopicSuffix, getDiscardIndication, getExpiration, getHTTPContentEncoding, getHTTPContentType, getMessageId, getMessageIdLong, getMessageType, getPriority, getProperties, getReceiveTimestamp, getRedelivered, getReplicationGroupMessageId, getReplyTo, getReplyToSuffix, getSenderId, getSenderID, getSenderTimestamp, getSendTimestamp, getSequenceNumber, getTimeToLive, getTopicSequenceNumber, getUserData, hasAttachment, hasContent, hasUserData, isAckImmediately, isCacheMessage, isDMQEligible, isElidingEligible, isReadOnly, isReplyMessage, isSuspect, readAttachmentBytes, readAttachmentBytes, readAttachmentBytes, readContentBytes, readContentBytes, readContentBytes, rejectMessage, reset, rewindAttachment, setAckImmediately, setApplicationMessageId, setApplicationMessageType, setAppMessageID, setAppMessageType, setAsReplyMessage, setCorrelationId, setCorrelationKey, setCos, setDeliverToOne, setDeliveryMode, setDMQEligible, setElidingEligible, setExpiration, setHTTPContentEncoding, setHTTPContentType, setMessageType, setPriority, setProperties, setReadOnly, setReplyTo, setReplyToSuffix, setSenderId, setSenderID, setSenderTimestamp, setSendTimestamp, setSequenceNumber, setTimeToLive, settle, setUserData, writeAttachment, writeAttachment, writeAttachment, writeNewAttachment, writeNewAttachment, writeNewAttachment, writeNewAttachmentInputStream getStream()
InputStream from which the message content can be read.
On the publisher side, if the application attempts to acquire the InputStream and
read from it, the behavior is undefined.
void setStream(InputStream stream) throws IOException
InputStream from which the message content can be read.stream - A stream from which to read message content.IOException - If an error occurs reading from input stream.NullPointerException - If stream is null.Copyright 2004-2025 Solace Corporation. All rights reserved.