|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMessage
Objects of this class represent a single message in the queue.
| Field Summary | |
|---|---|
static int |
MaxMessageSize
The maximum message size in bytes. |
static int |
MaxTimeToLive
The maximum amount of time a message is kept in the queue. |
| Method Summary | |
|---|---|
byte[] |
getContentAsBytes()
Returns the content of the message as a byte array |
java.lang.String |
getContentAsString()
Returns the the contents of the message as a string. |
java.sql.Timestamp |
getExpirationTime()
Returns the message's expiration time. |
java.lang.String |
getId()
Returns the unique ID of the message. |
java.sql.Timestamp |
getInsertTime()
Returns the point in time when the message was put into the queue. |
java.sql.Timestamp |
getNextVisibleTime()
Return the point in time when a message becomes visible again after a Get() operation was called that returned the message. |
java.lang.String |
getPopReceipt()
Return popReceipt which is used when deleting a message from the queue. |
| Field Detail |
|---|
static final int MaxMessageSize
static final int MaxTimeToLive
| Method Detail |
|---|
java.lang.String getContentAsString()
byte[] getContentAsBytes()
java.lang.String getId()
java.lang.String getPopReceipt()
java.sql.Timestamp getInsertTime()
java.sql.Timestamp getExpirationTime()
java.sql.Timestamp getNextVisibleTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||