Message Expiration
Camel supports the Message Expiration from the EIP patterns.
How can a sender indicate when a message should be considered stale and thus shouldn’t be processed?

Set the Message Expiration to specify a time limit how long the message is viable.
Message expiration is supported by some Camel components such as JMS or which allows to set a time-to-live value on messages sent to the broker.
When using message expiration then mind about keeping clock’s synchronized among the systems. |