public interface JmsHeaders
| Modifier and Type | Method and Description |
|---|---|
String |
getJMSCorrelationID()
Used to link one message with another.
|
Integer |
getJMSDeliveryMode() |
Long |
getJMSDeliveryTime()
Present only in JMS 2.0 Messages
|
JmsDestination |
getJMSDestination() |
Long |
getJMSExpiration()
JMS provider calculates its expiration time by adding the
timeToLive
value specified on the send method to the time the message was sent (for transacted sends,
this is the time the client sends the message, not the time the transaction is committed) |
String |
getJMSMessageID() |
Integer |
getJMSPriority()
JMS defines a ten level priority value with 0 as the lowest priority and 9 as the highest.
|
Boolean |
getJMSRedelivered()
If
true, it is likely, but not guaranteed,
that this message was delivered but not acknowledged in the past. |
JmsDestination |
getJMSReplyTo() |
Long |
getJMSTimestamp() |
String |
getJMSType() |
JmsDestination getJMSDestination()
Integer getJMSDeliveryMode()
DeliveryMode.PERSISTENT or DeliveryMode.NON_PERSISTENTLong getJMSExpiration()
timeToLive
value specified on the send method to the time the message was sent (for transacted sends,
this is the time the client sends the message, not the time the transaction is committed)
If the timeToLive is specified as zero, the message's expiration time is
set to zero to indicate that the message does not expire.
zero if the message does not expireLong getJMSDeliveryTime()
JMS provider calculates its delivery time by adding the deliveryDelay
value specified on the send method to the time the message was sent (for transacted sends,
this is the time the client sends the message, not the time the transaction is committed).
A message's delivery time is the earliest time when a provider may make the message visible on the target destination and available for delivery to consumers.
zero if no deliveryDelay was setInteger getJMSPriority()
normal priority
and priorities 5-9 as gradations of expedited priority.
JMS does not require that a provider strictly implement priority ordering of messages; however, it should do its best to deliver expedited messages ahead of normal messages.
String getJMSMessageID()
disableMessageID, then null
is returned.Long getJMSTimestamp()
If the Producer was hinted to disableMessageTimestamp, then zero
is returned.
String getJMSCorrelationID()
JmsDestination getJMSReplyTo()
replyTo destination was set, then null is returned.String getJMSType()
Boolean getJMSRedelivered()
true, it is likely, but not guaranteed,
that this message was delivered but not acknowledged in the past.
Relates to the JMSXDeliveryCount message property.true if the message may have been delivered in the pastCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.