|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.soa.esb.message.properties.MessagePropertyFacade
public class MessagePropertyFacade
Allows for manipulation of message properties using well-known names.
| Field Summary | |
|---|---|
protected Message |
message
Wrapped message instance |
static java.lang.String |
MESSAGE_CATEGORY
Constant for message category property name |
static java.lang.String |
MESSAGE_CREATED_DATE
Constant for message category property name |
static java.lang.String |
MESSAGE_DELIVERED
Constant for message delivered property name |
static java.lang.String |
MESSAGE_ID
Constant for message id property name |
| Constructor Summary | |
|---|---|
MessagePropertyFacade(Message message)
Create a facade that wraps the given message. |
|
| Method Summary | |
|---|---|
java.util.Calendar |
getCreatedDate()
Get the message created date. |
java.lang.String |
getMessageCategory()
Get the message category. |
java.lang.String |
getMessageId()
Get the message id. |
void |
setCreatedDate(java.util.Calendar createdDate)
Set the message created date. |
void |
setDelivered(java.lang.Boolean delivered)
Set the indicator for whether the message was delivered. |
void |
setMessageCategory(java.lang.String category)
Set the message category. |
void |
setMessageId(java.lang.String messageId)
Set the message id. |
java.lang.Boolean |
wasDelivered()
Indicates whether the message was delivered. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Message message
public static final java.lang.String MESSAGE_ID
public static final java.lang.String MESSAGE_CATEGORY
public static final java.lang.String MESSAGE_CREATED_DATE
public static final java.lang.String MESSAGE_DELIVERED
| Constructor Detail |
|---|
public MessagePropertyFacade(Message message)
message - | Method Detail |
|---|
public java.lang.String getMessageId()
public void setMessageId(java.lang.String messageId)
messageId - public java.lang.String getMessageCategory()
public void setMessageCategory(java.lang.String category)
category - public java.util.Calendar getCreatedDate()
public void setCreatedDate(java.util.Calendar createdDate)
createdDate - public java.lang.Boolean wasDelivered()
public void setDelivered(java.lang.Boolean delivered)
delivered -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||