Class Notification
-
- All Implemented Interfaces:
public class NotificationNotification queue item that provides a construction time to allow detection of stale notifications.
-
-
Field Summary
Fields Modifier and Type Field Description public final SoapMessagepayloadpublic final LocalDateTimeconstructionTime
-
Constructor Summary
Constructors Constructor Description Notification(SoapMessage payload)Constructor that accepts a notification and records the time during construction.
-
Method Summary
Modifier and Type Method Description SoapMessagegetPayload()LocalDateTimegetConstructionTime()-
-
Constructor Detail
-
Notification
Notification(SoapMessage payload)
Constructor that accepts a notification and records the time during construction.- Parameters:
payload- the notification message to convey.
-
-
Method Detail
-
getPayload
SoapMessage getPayload()
-
getConstructionTime
LocalDateTime getConstructionTime()
-
-
-
-