public interface JmsStreamMessageFacade extends JmsMessageFacade
Modifier and Type | Method and Description |
---|---|
JmsStreamMessageFacade |
copy()
Create a new instance and perform a deep copy of this object's
contents.
|
boolean |
hasNext() |
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.
|
clearBody, clearProperties, getCorrelationId, getCorrelationIdBytes, getDeliveryCount, getDestination, getExpiration, getGroupId, getGroupSequence, getMessageId, getPriority, getProperty, getPropertyNames, getProviderMessageIdObject, getRedeliveryCount, getReplyTo, getTimestamp, getType, getUserId, getUserIdBytes, isPersistent, isRedelivered, onDispatch, onSend, propertyExists, setCorrelationId, setCorrelationIdBytes, setDeliveryCount, setDestination, setExpiration, setGroupId, setGroupSequence, setMessageId, setPersistent, setPriority, setProperty, setProviderMessageIdObject, setRedelivered, setRedeliveryCount, setReplyTo, setTimestamp, setType, setUserId, setUserIdBytes
JmsStreamMessageFacade copy() throws javax.jms.JMSException
JmsMessageFacade
copy
in interface JmsMessageFacade
javax.jms.JMSException
- if an error occurs while copying the message.boolean hasNext()
Object peek() throws javax.jms.MessageEOFException
javax.jms.MessageEOFException
- if end of message stream has been reached.void pop() throws javax.jms.MessageEOFException
javax.jms.MessageEOFException
- if end of message stream has been reached.void put(Object value)
value
- The object value to be written to the stream.void reset()
Copyright © 2013–2016 The Apache Software Foundation. All rights reserved.