public class OMRSEventProcessingContext extends Object
| Constructor and Description |
|---|
OMRSEventProcessingContext() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addAsyncProcessingResult(Future<?> future)
Registers a
Future so that Egeria can keep track of asynchronous message
processing being done by consumers. |
static void |
addAsyncProcessingResult(OMRSFuture future)
Registers a
Future so that Egeria can keep track of asynchronous message
processing being done by consumers. |
static String |
getCurrentMessageId()
Gets unique identifier for the current message.
|
public static void addAsyncProcessingResult(Future<?> future)
Future so that Egeria can keep track of asynchronous message
processing being done by consumers. Egeria will not mark a message as processed
until all consumers have fully processed the message or the processing timeout
has expiredfuture - The future that should be monitored by Egeria to detect
when the asynchronous processing is completepublic static void addAsyncProcessingResult(OMRSFuture future)
Future so that Egeria can keep track of asynchronous message
processing being done by consumers. Egeria will not mark a message as processed
until all consumers have fully processed the message or the processing timeout
has expiredfuture - The future that should be monitored by Egeria to detect
when the asynchronous processing is completepublic static String getCurrentMessageId()
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.