LockedMessage

Data object used to store and lock incoming messages in MemoryMessageQueue.

Description

The LockedMessage class allows you to create data objects used to store and lock incoming messages in MemoryMessageQueue.

Fields

expirationTime

The expiration time for the message lock. If it is null, then the message is not locked.

public ZonedDateTime expirationTime;

message

The incoming message.

public MessageEnvelope message;

timeout

The lock timeout in milliseconds.

public Long timeout;

See also