public class AmqpJmsStreamMessageFacade extends AmqpJmsMessageFacade implements JmsStreamMessageFacade
connection, message| Constructor and Description |
|---|
AmqpJmsStreamMessageFacade(AmqpConnection connection)
Create a new facade ready for sending.
|
AmqpJmsStreamMessageFacade(AmqpConsumer consumer,
org.apache.qpid.proton.message.Message message)
Creates a new Facade around an incoming AMQP Message for dispatch to the
JMS Consumer instance.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
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.
|
applicationPropertyExists, clearProperties, copyInto, getAmqpMessage, getAmqpTimeToLiveOverride, getApplicationProperty, getApplicationPropertyNames, getConnection, getContentType, getCorrelationId, getCorrelationIdBytes, getDeliveryCount, getDestination, getExpiration, getGroupId, getGroupSequence, getMessageId, getPriority, getProperty, getPropertyNames, getProviderMessageIdObject, getRedeliveryCount, getReplyTo, getReplyToGroupId, getTimestamp, getType, getUserId, hasAmqpTimeToLiveOverride, isPersistent, isRedelivered, onDispatch, onSend, propertyExists, setAmqpTimeToLiveOverride, setApplicationProperty, setContentType, setCorrelationId, setCorrelationIdBytes, setDeliveryCount, setDestination, setExpiration, setGroupId, setGroupSequence, setMessageId, setPersistent, setPriority, setProperty, setProviderMessageIdObject, setRedelivered, setRedeliveryCount, setReplyTo, setReplyToGroupId, setTimestamp, setType, setUserIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearProperties, getCorrelationId, getCorrelationIdBytes, getDeliveryCount, getDestination, getExpiration, getGroupId, getGroupSequence, getMessageId, getPriority, getProperty, getPropertyNames, getProviderMessageIdObject, getRedeliveryCount, getReplyTo, getTimestamp, getType, getUserId, isPersistent, isRedelivered, onDispatch, onSend, propertyExists, setCorrelationId, setCorrelationIdBytes, setDeliveryCount, setDestination, setExpiration, setGroupId, setGroupSequence, setMessageId, setPersistent, setPriority, setProperty, setProviderMessageIdObject, setRedelivered, setRedeliveryCount, setReplyTo, setTimestamp, setType, setUserIdpublic AmqpJmsStreamMessageFacade(AmqpConnection connection)
connection - the AmqpConnection that under which this facade was created.public AmqpJmsStreamMessageFacade(AmqpConsumer consumer, org.apache.qpid.proton.message.Message message)
consumer - the consumer that received this message.message - the incoming Message instance that is being wrapped.public 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 AmqpJmsMessageFacadeCopyright © 2013–2016 The Apache Software Foundation. All rights reserved.