org.apache.qpid.client.message
Interface AMQMessageDelegate

All Known Implementing Classes:
AbstractAMQMessageDelegate, AMQMessageDelegate_0_10, AMQMessageDelegate_0_8

public interface AMQMessageDelegate


Method Summary
 void acknowledge()
           
 void acknowledgeThis()
           
 void clearProperties()
           
 AMQSession getAMQSession()
           
 boolean getBooleanProperty(String string)
           
 byte getByteProperty(String string)
           
 String getContentType()
           
 long getDeliveryTag()
           
 double getDoubleProperty(String string)
           
 String getEncoding()
           
 float getFloatProperty(String string)
           
 int getIntProperty(String string)
           
 String getJMSCorrelationID()
           
 byte[] getJMSCorrelationIDAsBytes()
           
 int getJMSDeliveryMode()
           
 Destination getJMSDestination()
           
 long getJMSExpiration()
           
 String getJMSMessageID()
           
 int getJMSPriority()
           
 Destination getJMSReplyTo()
           
 long getJMSTimestamp()
           
 String getJMSType()
           
 long getLongProperty(String string)
           
 Object getObjectProperty(String string)
           
 Enumeration getPropertyNames()
           
 String getReplyToString()
           
 short getShortProperty(String string)
           
 String getStringProperty(String string)
           
 boolean propertyExists(String string)
           
 void removeProperty(String propertyName)
           
 void setAMQSession(AMQSession s)
           
 void setBooleanProperty(String string, boolean b)
           
 void setByteProperty(String string, byte b)
           
 void setContentType(String contentType)
           
 void setDoubleProperty(String string, double v)
           
 void setEncoding(String encoding)
           
 void setFloatProperty(String string, float v)
           
 void setIntProperty(String string, int i)
           
 void setJMSCorrelationID(String string)
           
 void setJMSCorrelationIDAsBytes(byte[] bytes)
           
 void setJMSDeliveryMode(int i)
           
 void setJMSDestination(Destination destination)
           
 void setJMSExpiration(long l)
           
 void setJMSMessageID(String string)
           
 void setJMSMessageID(UUID messageId)
           
 void setJMSPriority(int i)
           
 void setJMSReplyTo(Destination destination)
           
 void setJMSTimestamp(long l)
           
 void setJMSType(String string)
           
 void setLongProperty(String string, long l)
           
 void setObjectProperty(String string, Object object)
           
 void setShortProperty(String string, short i)
           
 void setStringProperty(String string, String string1)
           
 

Method Detail

acknowledgeThis

void acknowledgeThis()
                     throws JMSException
Throws:
JMSException

getJMSMessageID

String getJMSMessageID()
                       throws JMSException
Throws:
JMSException

setJMSMessageID

void setJMSMessageID(String string)
                     throws JMSException
Throws:
JMSException

getJMSTimestamp

long getJMSTimestamp()
                     throws JMSException
Throws:
JMSException

setJMSTimestamp

void setJMSTimestamp(long l)
                     throws JMSException
Throws:
JMSException

getJMSCorrelationIDAsBytes

byte[] getJMSCorrelationIDAsBytes()
                                  throws JMSException
Throws:
JMSException

setJMSCorrelationIDAsBytes

void setJMSCorrelationIDAsBytes(byte[] bytes)
                                throws JMSException
Throws:
JMSException

setJMSCorrelationID

void setJMSCorrelationID(String string)
                         throws JMSException
Throws:
JMSException

getJMSCorrelationID

String getJMSCorrelationID()
                           throws JMSException
Throws:
JMSException

getJMSReplyTo

Destination getJMSReplyTo()
                          throws JMSException
Throws:
JMSException

setJMSReplyTo

void setJMSReplyTo(Destination destination)
                   throws JMSException
Throws:
JMSException

getJMSDestination

Destination getJMSDestination()
                              throws JMSException
Throws:
JMSException

getJMSDeliveryMode

int getJMSDeliveryMode()
                       throws JMSException
Throws:
JMSException

setJMSDeliveryMode

void setJMSDeliveryMode(int i)
                        throws JMSException
Throws:
JMSException

getJMSType

String getJMSType()
                  throws JMSException
Throws:
JMSException

setJMSType

void setJMSType(String string)
                throws JMSException
Throws:
JMSException

getJMSExpiration

long getJMSExpiration()
                      throws JMSException
Throws:
JMSException

setJMSExpiration

void setJMSExpiration(long l)
                      throws JMSException
Throws:
JMSException

getJMSPriority

int getJMSPriority()
                   throws JMSException
Throws:
JMSException

setJMSPriority

void setJMSPriority(int i)
                    throws JMSException
Throws:
JMSException

clearProperties

void clearProperties()
                     throws JMSException
Throws:
JMSException

propertyExists

boolean propertyExists(String string)
                       throws JMSException
Throws:
JMSException

getBooleanProperty

boolean getBooleanProperty(String string)
                           throws JMSException
Throws:
JMSException

getByteProperty

byte getByteProperty(String string)
                     throws JMSException
Throws:
JMSException

getShortProperty

short getShortProperty(String string)
                       throws JMSException
Throws:
JMSException

getIntProperty

int getIntProperty(String string)
                   throws JMSException
Throws:
JMSException

getLongProperty

long getLongProperty(String string)
                     throws JMSException
Throws:
JMSException

getFloatProperty

float getFloatProperty(String string)
                       throws JMSException
Throws:
JMSException

getDoubleProperty

double getDoubleProperty(String string)
                         throws JMSException
Throws:
JMSException

getStringProperty

String getStringProperty(String string)
                         throws JMSException
Throws:
JMSException

getObjectProperty

Object getObjectProperty(String string)
                         throws JMSException
Throws:
JMSException

getPropertyNames

Enumeration getPropertyNames()
                             throws JMSException
Throws:
JMSException

setBooleanProperty

void setBooleanProperty(String string,
                        boolean b)
                        throws JMSException
Throws:
JMSException

setByteProperty

void setByteProperty(String string,
                     byte b)
                     throws JMSException
Throws:
JMSException

setShortProperty

void setShortProperty(String string,
                      short i)
                      throws JMSException
Throws:
JMSException

setIntProperty

void setIntProperty(String string,
                    int i)
                    throws JMSException
Throws:
JMSException

setLongProperty

void setLongProperty(String string,
                     long l)
                     throws JMSException
Throws:
JMSException

setFloatProperty

void setFloatProperty(String string,
                      float v)
                      throws JMSException
Throws:
JMSException

setDoubleProperty

void setDoubleProperty(String string,
                       double v)
                       throws JMSException
Throws:
JMSException

setStringProperty

void setStringProperty(String string,
                       String string1)
                       throws JMSException
Throws:
JMSException

setObjectProperty

void setObjectProperty(String string,
                       Object object)
                       throws JMSException
Throws:
JMSException

acknowledge

void acknowledge()
                 throws JMSException
Throws:
JMSException

setJMSDestination

void setJMSDestination(Destination destination)

setContentType

void setContentType(String contentType)

getContentType

String getContentType()

setEncoding

void setEncoding(String encoding)

getEncoding

String getEncoding()

getReplyToString

String getReplyToString()

removeProperty

void removeProperty(String propertyName)
                    throws JMSException
Throws:
JMSException

setAMQSession

void setAMQSession(AMQSession s)

getAMQSession

AMQSession getAMQSession()

getDeliveryTag

long getDeliveryTag()

setJMSMessageID

void setJMSMessageID(UUID messageId)
                     throws JMSException
Throws:
JMSException


Licensed to the Apache Software Foundation