Package | Description |
---|---|
org.objectweb.joram.mom.messages |
The
org.objectweb.joram.shared.messages package provides the implementation classes of the messages routed by the MOM. |
Modifier and Type | Method and Description |
---|---|
String |
Message.getClientID()
Get the clientID
|
String |
Message.getCorrelationId()
Returns the message correlation identifier.
|
int |
Message.getDeliveryCount()
Returns the message delivery count.
|
long |
Message.getDeliveryTime()
Returns the message delivery time
|
long |
Message.getExpiration()
Returns the message expiration time.
|
Message |
Message.getFullMessage()
Returns the contained message with body.
|
Message |
Message.getHeaderMessage()
Returns the contained message eventually without the body.
|
String |
Message.getId()
Returns the message identifier.
|
int |
Message.getPriority()
Returns the message priority.
|
Map |
Message.getProperties() |
Message |
Message.getSharedMsg()
Gets the message, loads it from disk if needed, then sets the msg attribute.
|
long |
Message.getTimestamp()
Returns the message time stamp.
|
int |
Message.getType()
Returns the message type.
|
boolean |
Message.hasExpiration()
Return true if the message has an expiration delay.
|
void |
Message.incDeliveryCount()
Increments the message delivery count.
|
boolean |
Message.isPersistent()
Returns
true if the message is persistent. |
boolean |
Message.isRedelivered() |
boolean |
Message.isValid(long currentTime)
Returns
true if the message is valid. |
void |
Message.releaseFullMessage()
Creates a soft reference instead of a hard one linking to the body of the
contained message.
|
void |
Message.setCorrelationId(String correlationId)
Sets the message correlation identifier.
|
void |
Message.setDeliveryCount(int deliveryCount)
Sets the message delivery count.
|
void |
Message.setDeliveryTime(long deliveryTime)
Sets the message delivery time
|
void |
Message.setExpiration(long expiration)
Sets the message expiration.
|
void |
Message.setIdentifier(String id)
Sets the message identifier.
|
void |
Message.setObjectProperty(String name,
Object value)
Sets a property value.
|
void |
Message.setPersistent(boolean persistent)
Sets the message persistence mode.
|
void |
Message.setPriority(int priority)
Sets the message priority.
|
void |
Message.setRedelivered()
Sets the message redelivered flag.
|
void |
Message.setTimestamp(long timestamp)
Sets the message time stamp.
|
Copyright © 2023 ScalAgent D.T.. All rights reserved.