public class StreamMessageImpl extends MessageImpl implements StreamMessage
MSGDUMP_BRIEF, MSGDUMP_FULL, SDK_BINARY_METADATA_PORTION, STRUCTURED_MAP_MESSAGE, STRUCTURED_STREAM_MESSAGE, STRUCTURED_TEXT_MESSAGE, UNSTRUCTURED_JMS_BYTES_MESSAGE, UNSTRUCTURED_JMS_OBJECT_MESSAGE, UNSTRUCTURED_JMS_PROPERTIES_MESSAGE, UNSTRUCTURED_MESSAGE, UNSTRUCTURED_XML_MESSAGE| Constructor and Description |
|---|
StreamMessageImpl(BytesXMLMessage message) |
| Modifier and Type | Method and Description |
|---|---|
SDTStream |
getStream()
Gets the message content.
|
void |
reset()
Resets the message, clearing all fields, preparing it for publishing
again.
|
void |
setStream(SDTStream stream)
Sets the message content.
|
ackMessage, clearAttachment, clearBinaryMetadataBytes, clearContent, clearQueueNameLocation, clearTopicNameLocation, dump, dump, getAckMessageId, getApplicationMessageId, getApplicationMessageType, getAppMessageID, getAppMessageType, getAttachmentByteBuffer, getAttachmentContentLength, getBinaryMetadataContentLength, getBinaryMetadataTypes, getBytes, getCacheRequestId, getConsumerIdList, getContentLength, getCorrelationId, getCorrelationKey, getCos, getDeliverToOne, getDeliveryCount, getDeliveryMode, getDestination, getDestinationTopicSuffix, getDiscardIndication, getExpiration, getHTTPContentEncoding, getHTTPContentType, getMessageId, getMessageIdLong, getMessageType, getPriority, getProperties, getQueueNameLength, getQueueNameOffset, getReceiveTimestamp, getRedelivered, getReplyTo, getReplyToSuffix, getSenderId, getSenderID, getSenderTimestamp, getSendTimestamp, getSequenceNumber, getStructuredMsgType, getTimeToLive, getTopicNameLength, getTopicNameOffset, getTopicSequenceNumber, getTQDiscardIndication, getUserData, getWrappedMessage, hasAttachment, hasBinaryMetadata, hasContent, hasUserData, isAckImmediately, isCacheMessage, isDeliveryCountSupported, isDMQEligible, isElidingEligible, isReadOnly, isReplyMessage, isStructuredMsg, isSuspect, readAttachmentBytes, readAttachmentBytes, readAttachmentBytes, readBinaryMetadataBytes, readBytes, readBytes, readContentBytes, readContentBytes, readContentBytes, rejectMessage, rewindAttachment, rewindContent, setAckImmediately, setApplicationMessageId, setApplicationMessageType, setAppMessageID, setAppMessageType, setAsReplyMessage, setCorrelationId, setCorrelationKey, setCos, setDeliverToOne, setDeliveryMode, setDMQEligible, setElidingEligible, setExpiration, setHTTPContentEncoding, setHTTPContentType, setMessageType, setPriority, setProperties, setQueueNameLocation, setReadOnly, setReplyTo, setReplyToSuffix, setSenderId, setSenderID, setSenderTimestamp, setSendTimestamp, setSequenceNumber, setStructuredMsg, setStructuredMsgType, setTimeToLive, setTopicNameLocation, setUserData, toString, writeAttachment, writeAttachment, writeAttachment, writeBinaryMetadataBytes, writeBinaryMetadataBytes, writeBytes, writeBytes, writeNewAttachment, writeNewAttachment, writeNewAttachment, writeNewAttachmentequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBytes, readBytes, readBytes, rewindContent, writeBytes, writeBytesackMessage, clearAttachment, clearBinaryMetadataBytes, clearContent, clearQueueNameLocation, clearTopicNameLocation, dump, dump, getAckMessageId, getApplicationMessageId, getApplicationMessageType, getAppMessageID, getAppMessageType, getAttachmentByteBuffer, getAttachmentContentLength, getBinaryMetadataContentLength, getBinaryMetadataTypes, getCacheRequestId, getConsumerIdList, getContentLength, getCorrelationId, getCorrelationKey, getCos, getDeliverToOne, getDeliveryCount, getDeliveryMode, getDestination, getDestinationTopicSuffix, getDiscardIndication, getExpiration, getHTTPContentEncoding, getHTTPContentType, getMessageId, getMessageIdLong, getMessageType, getPriority, getProperties, getQueueNameLength, getQueueNameOffset, getReceiveTimestamp, getRedelivered, getReplyTo, getReplyToSuffix, getSenderId, getSenderID, getSenderTimestamp, getSendTimestamp, getSequenceNumber, getStructuredMsgType, getTimeToLive, getTopicNameLength, getTopicNameOffset, getTopicSequenceNumber, getTQDiscardIndication, getUserData, hasAttachment, hasBinaryMetadata, hasContent, hasUserData, isAckImmediately, isCacheMessage, isDeliveryCountSupported, isDMQEligible, isElidingEligible, isReadOnly, isReplyMessage, isStructuredMsg, isSuspect, readAttachmentBytes, readAttachmentBytes, readAttachmentBytes, readBinaryMetadataBytes, readContentBytes, readContentBytes, readContentBytes, rejectMessage, rewindAttachment, setAckImmediately, setApplicationMessageId, setApplicationMessageType, setAppMessageID, setAppMessageType, setAsReplyMessage, setCorrelationId, setCorrelationKey, setCos, setDeliverToOne, setDeliveryMode, setDMQEligible, setElidingEligible, setExpiration, setHTTPContentEncoding, setHTTPContentType, setMessageType, setPriority, setProperties, setQueueNameLocation, setReadOnly, setReplyTo, setReplyToSuffix, setSenderId, setSenderID, setSenderTimestamp, setSendTimestamp, setSequenceNumber, setStructuredMsg, setStructuredMsgType, setTimeToLive, setTopicNameLocation, setUserData, writeAttachment, writeAttachment, writeAttachment, writeBinaryMetadataBytes, writeBinaryMetadataBytes, writeNewAttachment, writeNewAttachment, writeNewAttachment, writeNewAttachmentpublic StreamMessageImpl(BytesXMLMessage message)
public SDTStream getStream()
StreamMessagegetStream in interface StreamMessagepublic void setStream(SDTStream stream)
StreamMessagesetStream in interface StreamMessagestream - The message content.public void reset()
XMLMessageJCSMPFactory.reset in interface XMLMessagereset in class MessageImplCopyright 2004-2021 Solace Corporation. All rights reserved.