public class AmqpJmsStreamMessageFacade extends AmqpJmsMessageFacade implements JmsStreamMessageFacade
connection| Constructor and Description |
|---|
AmqpJmsStreamMessageFacade() |
| Modifier and Type | Method and Description |
|---|---|
JmsStreamMessage |
asJmsMessage() |
void |
clearBody()
Clears the contents of this Message.
|
AmqpJmsStreamMessageFacade |
copy()
Create a new instance and perform a deep copy of this object's
contents.
|
byte |
getJmsMsgType() |
boolean |
hasBody()
Returns true if the underlying message has a body, false if the body is empty.
|
boolean |
hasNext() |
protected void |
initializeEmptyBody()
Used to indicate that a Message object should empty the body element and make
any other internal updates to reflect the message now has no body value.
|
Object |
peek()
Peek and return the next element in the stream.
|
void |
pop()
Pops the next element in the stream.
|
void |
put(Object value)
Writes a new object value to the stream.
|
void |
reset()
Reset the position of the stream to the beginning.
|
applicationPropertyExists, clearProperties, copyInto, encodeMessage, filterTracingAnnotations, getAmqpTimeToLiveOverride, getApplicationProperty, getApplicationPropertyNames, getContentType, getCorrelationId, getCorrelationIdBytes, getDeliveryCount, getDeliveryTime, getDestination, getExpiration, getGroupId, getGroupSequence, getMessageId, getPriority, getProperty, getPropertyNames, getProviderMessageIdObject, getRedeliveryCount, getReplyTo, getReplyToGroupId, getTimestamp, getTracingAnnotation, getTracingContext, getType, getUserId, getUserIdBytes, hasAmqpTimeToLiveOverride, initialize, initialize, isDeliveryTimeTransmitted, isPersistent, isRedelivered, onDispatch, onSend, propertyExists, removeTracingAnnotation, removeTracingContext, setAmqpTimeToLiveOverride, setApplicationProperty, setContentType, setCorrelationId, setCorrelationIdBytes, setDeliveryCount, setDeliveryTime, setDestination, setExpiration, setGroupId, setGroupSequence, setMessageId, setPersistent, setPriority, setProperty, setProviderMessageIdObject, setRedelivered, setRedeliveryCount, setReplyTo, setReplyToGroupId, setTimestamp, setTracingAnnotation, setTracingContext, setType, setUserId, setUserIdBytesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearProperties, encodeMessage, getCorrelationId, getCorrelationIdBytes, getDeliveryCount, getDeliveryTime, getDestination, getExpiration, getGroupId, getGroupSequence, getMessageId, getPriority, getProperty, getPropertyNames, getProviderMessageIdObject, getRedeliveryCount, getReplyTo, getTimestamp, getType, getUserId, getUserIdBytes, isDeliveryTimeTransmitted, isPersistent, isRedelivered, onDispatch, onSend, propertyExists, setCorrelationId, setCorrelationIdBytes, setDeliveryCount, setDeliveryTime, setDestination, setExpiration, setGroupId, setGroupSequence, setMessageId, setPersistent, setPriority, setProperty, setProviderMessageIdObject, setRedelivered, setRedeliveryCount, setReplyTo, setTimestamp, setType, setUserId, setUserIdBytesfilterTracingAnnotations, getTracingAnnotation, getTracingContext, removeTracingAnnotation, removeTracingContext, setTracingAnnotation, setTracingContextpublic AmqpJmsStreamMessageFacade copy()
JmsMessageFacadecopy in interface JmsMessageFacadecopy in interface JmsStreamMessageFacadecopy in class AmqpJmsMessageFacadepublic byte getJmsMsgType()
getJmsMsgType in class AmqpJmsMessageFacadepublic boolean hasNext()
hasNext in interface JmsStreamMessageFacadepublic Object peek() throws javax.jms.MessageEOFException
JmsStreamMessageFacadepeek in interface JmsStreamMessageFacadejavax.jms.MessageEOFException - if end of message stream has been reached.public void pop()
throws javax.jms.MessageEOFException
JmsStreamMessageFacadepop in interface JmsStreamMessageFacadejavax.jms.MessageEOFException - if end of message stream has been reached.public void put(Object value)
JmsStreamMessageFacadeput in interface JmsStreamMessageFacadevalue - The object value to be written to the stream.public void reset()
JmsStreamMessageFacadereset in interface JmsStreamMessageFacadepublic void clearBody()
JmsMessageFacadeclearBody in interface JmsMessageFacadeclearBody in class AmqpJmsMessageFacadepublic boolean hasBody()
JmsMessageFacadehasBody in interface JmsMessageFacadehasBody in class AmqpJmsMessageFacadepublic JmsStreamMessage asJmsMessage()
asJmsMessage in class AmqpJmsMessageFacadeprotected void initializeEmptyBody()
AmqpJmsMessageFacadeinitializeEmptyBody in class AmqpJmsMessageFacadeCopyright © 2013–2019 The Apache Software Foundation. All rights reserved.