Method Summary |
|
public void | acknowledge() This method acknowledges that this message has been successfully
processed by a target. |
public void | addError(int level, String msg) This method adds an error to the list of errors for this message. |
public void | clearBody() This clears the body of the message. |
public void | clearProperties() This method clears the properties assigned to this message. |
public boolean | containsProperty(String name) This method returns true if the property is found. |
public boolean | getBooleanProperty(String name) This method returns the boolean property value for the requested name. |
public byte | getByteProperty(String name) This method returns the byte property value for the requested name. |
public String | getCorrelationId() The external correlation id for this message. |
public Date | getCreated() This method returns the date this message was created. |
public double | getDoubleProperty(String name) This method returns the double property value for the requested name. |
public List | getErrors() |
public float | getFloatProperty(String name) This method returns the float property value for the requested name. |
public String | getFrom() This method returns the from URL of a message. |
public int | getIntProperty(String name) This method returns the int property value for the requested name. |
public long | getLongProperty(String name) This method returns the long property value for the requested name. |
public String | getMessageCreater() This method returns the creator of this message. |
public String | getMessageId() This method returns the id of this message object. |
public List | getMessagePrincipals() This method returns the list of user principals assigned to this message. |
public int | getMessageType() This method returns the type of message that this object represents. |
public Object | getObjectProperty(String name) This method returns the object property value for the requested name. |
public int | getPriority() This message returns the priority of this message. |
public Date | getProcessedDate() This method will return the last processed date. |
public Enumeration | getPropertyNames() This method returns the string property value for the requested name. |
public Object | getPropertyValue(String name) This method returns the value of the property. |
public boolean | getReply() This method returns the value of the reply flag. |
public String | getReplyNamedQueue() This will only be set if the reply service is not a daemon, but an
external process. |
public String | getReplyTo() This method returns the reply to URL, it can be different from the from
URL. |
public int | getRetries() This is the number of retries this message has had. |
public String[] | getServices() This method returns the list of services. |
public String | getSessionId() This method returns the ID of the session that created this message. |
public int | getState() This method returns the current state of this message. |
public String | getStringProperty(String name) This method returns the string property value for the requested name. |
public String | getTarget() This method will return the URL string for this message if this is a
point to point message. |
public String | getTargetNamedQueue() This method gets the target named queue. |
public void | incrementRetries() This method increments the retry count on this object. |
public boolean | isAcknowledged() This method returns the value of the acknowledged flag for this message. |
public boolean | propertyExists(String name) This method returns true if the specified property exits. |
public void | setBooleanProperty(String name, boolean value) This method sets the boolean property value for the name. |
public void | setByteProperty(String name, byte value) This method sets the byte property value for the name. |
public void | setCorrelationId(String id) This method sets the correlation id for this message. |
public void | setDoubleProperty(String name, double value) This method sets the double property value for the name. |
public void | setFloatProperty(String name, float value) This method sets the float property value for the name. |
public void | setFrom(String from) This method returns the from address of the message. |
public void | setIntProperty(String name, int value) This method set the int property value for the name. |
public void | setLongProperty(String name, long value) This method sets the long property value for the name.
Parameters: name - The name of the property. |
public void | setMessageType(int messageType) This method sets the type of message that this object represents. |
public void | setObjectProperty(String name, Object value) This method returns the object property value for the name. |
public void | setPriority(int priority) This method sets the priority of the message. |
public void | setProcessedDate(Date processedDate) This method sets the processed date. |
public void | setPropertyValue(String name, Object value) This method sets the value of the property. |
public void | setReply(boolean value) This method sets the reply flag. |
public void | setReplyNamedQueue(String name) This will only be set if the reply service is not a daemon, but an
external process. |
public void | setReplyTo(String replyTo) This method returns the reply to URL, it can be different from the from
URL. |
public void | setServices(String[] services) This method returns the list of services this message targeted at. |
public void | setStringProperty(String name, String value) This method sets the string property value for the name.
Parameters: name - The name of the property. |
public void | setTarget(String target) This method sets the target of the message. |
public void | setTargetNamedQueue(String name) This method sets the target named queue. |