public class AMQMessageDelegate_0_10 extends AbstractAMQMessageDelegate
| Modifier | Constructor and Description |
|---|---|
protected |
AMQMessageDelegate_0_10() |
protected |
AMQMessageDelegate_0_10(AMQDestination.DestSyntax destSyntax,
MessageProperties messageProps,
DeliveryProperties deliveryProps,
long deliveryTag) |
protected |
AMQMessageDelegate_0_10(MessageProperties messageProps,
DeliveryProperties deliveryProps,
long deliveryTag) |
acknowledge, acknowledgeThis, convertToAddressBasedDestination, exchangeMapContains, generateDestination, getAMQSession, getDeliveryTag, setAMQSession, updateExchangeTypepublic static final String JMS_TYPE
protected AMQMessageDelegate_0_10()
protected AMQMessageDelegate_0_10(MessageProperties messageProps, DeliveryProperties deliveryProps, long deliveryTag)
protected AMQMessageDelegate_0_10(AMQDestination.DestSyntax destSyntax, MessageProperties messageProps, DeliveryProperties deliveryProps, long deliveryTag)
public static void updateExchangeTypeMapping(Header header, Session session)
header - The message headers, from which the exchange name can be extractedsession - The 0-10 session to use to call ExchangeQuerypublic String getJMSMessageID() throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void setJMSMessageID(String messageId) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void setJMSMessageID(UUID messageId) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic long getJMSTimestamp()
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void setJMSTimestamp(long timestamp)
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic byte[] getJMSCorrelationIDAsBytes()
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void setJMSCorrelationIDAsBytes(byte[] bytes)
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void setJMSCorrelationID(String correlationId) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic String getJMSCorrelationID() throws javax.jms.JMSException
javax.jms.JMSExceptionpublic javax.jms.Destination getJMSReplyTo()
public void setJMSReplyTo(javax.jms.Destination destination)
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic javax.jms.Destination getJMSDestination()
public void setJMSDestination(javax.jms.Destination destination)
public void setContentType(String contentType)
public String getContentType()
public void setEncoding(String encoding)
public String getEncoding()
public String getReplyToString()
public int getJMSDeliveryMode()
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void setJMSDeliveryMode(int deliveryMode)
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic String getJMSType() throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void setJMSType(String type) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic long getJMSExpiration()
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void setJMSExpiration(long l)
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic boolean propertyExists(String propertyName) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic boolean getBooleanProperty(String propertyName) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic byte getByteProperty(String propertyName) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic short getShortProperty(String propertyName) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic int getIntProperty(String propertyName) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic long getLongProperty(String propertyName) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic float getFloatProperty(String propertyName) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic double getDoubleProperty(String propertyName) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic String getStringProperty(String propertyName) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic Object getObjectProperty(String propertyName) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic Enumeration getPropertyNames() throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void setBooleanProperty(String propertyName, boolean b) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void setByteProperty(String propertyName, byte b) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void setShortProperty(String propertyName, short i) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void setIntProperty(String propertyName, int i) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void setLongProperty(String propertyName, long l) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void setFloatProperty(String propertyName, float f) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void setDoubleProperty(String propertyName, double v) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void setStringProperty(String propertyName, String value) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void setObjectProperty(String propertyName, Object object) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void removeProperty(String propertyName) throws javax.jms.JMSException
javax.jms.JMSExceptionprotected void checkWritableProperties()
throws javax.jms.MessageNotWriteableException
javax.jms.MessageNotWriteableExceptionpublic int getJMSPriority()
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void setJMSPriority(int i)
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void clearProperties()
throws javax.jms.JMSException
javax.jms.JMSExceptionprotected void checkPropertyName(CharSequence propertyName)
protected void checkIdentiferFormat(CharSequence propertyName)
public MessageProperties getMessageProperties()
public DeliveryProperties getDeliveryProperties()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.