public class MessagesHandlingService extends java.lang.Object implements TenantLifecycleService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NUMBER_OF_MESSAGES_EXECUTED |
| Constructor and Description |
|---|
MessagesHandlingService(EventInstanceService eventInstanceService,
WorkService workService,
TechnicalLoggerService loggerService,
LockService lockService,
java.lang.Long tenantId,
UserTransactionService userTransactionService,
SessionAccessor sessionAccessor,
BPMWorkFactory workFactory,
io.micrometer.core.instrument.MeterRegistry meterRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
pause()
Temporary halt the execution of this service.
|
void |
resetMessageCouple(long messageInstanceId,
long waitingMessageId) |
void |
resume()
resume the execution the service
|
void |
start()
Start the service
|
void |
stop() |
void |
triggerMatchingOfMessages() |
public static final java.lang.String NUMBER_OF_MESSAGES_EXECUTED
public MessagesHandlingService(EventInstanceService eventInstanceService, WorkService workService, TechnicalLoggerService loggerService, LockService lockService, java.lang.Long tenantId, UserTransactionService userTransactionService, SessionAccessor sessionAccessor, BPMWorkFactory workFactory, io.micrometer.core.instrument.MeterRegistry meterRegistry)
public void start()
LifecycleServicestart in interface LifecycleServicepublic void stop()
stop in interface LifecycleServicepublic void pause()
LifecycleServicepause in interface LifecycleServicepublic void resume()
LifecycleServiceresume in interface LifecycleServicepublic void triggerMatchingOfMessages()
throws STransactionNotFoundException
STransactionNotFoundExceptionpublic void resetMessageCouple(long messageInstanceId,
long waitingMessageId)
throws SWaitingEventReadException,
SWaitingEventModificationException,
SMessageModificationException,
SMessageInstanceReadException