public interface QueueDispatcherService
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(List<ExecutionMessage> messages)
dispatch messages to the queue
|
void |
dispatch(String messageId,
String group,
ExecStatus status,
Payload payload)
Dispatch one message to the queue
|
List<ExecutionMessage> |
poll(String uuid,
int maxSize,
long workerPollingMemory) |
void dispatch(List<ExecutionMessage> messages)
messages - the messages to dispatchList<ExecutionMessage> poll(String uuid, int maxSize, long workerPollingMemory)
uuid - the worker idmaxSize - max size of the poll bulkExecutionMessagevoid dispatch(String messageId, String group, ExecStatus status, Payload payload)
messageId - the id of the messagegroup - the group associated with the messagestatus - the message statuspayload - the message payloadCopyright © 2023. All rights reserved.