org.pipservices4.messaging.queues.LockedMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pip-services4-messaging Show documentation
Show all versions of pip-services4-messaging Show documentation
Messaging components for Pip.Services in Java
The newest version!
package org.pipservices4.messaging.queues;
import java.time.ZonedDateTime;
/**
* Data object used to store and lock incoming messages
* in {@link MemoryMessageQueue}.
*
* @see MemoryMessageQueue
*/
public class LockedMessage {
/**
* The incoming message.
*/
public MessageEnvelope message;
/**
* The expiration time for the message lock.
* If it is null then the message is not locked.
*/
public ZonedDateTime expirationTime;
/**
* The lock timeout in milliseconds.
*/
public Long timeout;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy