public class MessagesHandlingService extends Object implements org.bonitasoft.engine.commons.TenantLifecycleService
| Constructor and Description |
|---|
MessagesHandlingService(org.bonitasoft.engine.core.process.instance.api.event.EventInstanceService eventInstanceService,
org.bonitasoft.engine.work.WorkService workService,
org.bonitasoft.engine.log.technical.TechnicalLoggerService loggerService,
org.bonitasoft.engine.lock.LockService lockService,
Long tenantId,
org.bonitasoft.engine.transaction.UserTransactionService userTransactionService,
org.bonitasoft.engine.sessionaccessor.SessionAccessor sessionAccessor) |
| Modifier and Type | Method and Description |
|---|---|
void |
pause() |
void |
resetMessageCouple(long messageInstanceId,
long waitingMessageId) |
void |
resume() |
void |
start() |
void |
stop() |
void |
triggerMatchingOfMessages() |
public MessagesHandlingService(org.bonitasoft.engine.core.process.instance.api.event.EventInstanceService eventInstanceService,
org.bonitasoft.engine.work.WorkService workService,
org.bonitasoft.engine.log.technical.TechnicalLoggerService loggerService,
org.bonitasoft.engine.lock.LockService lockService,
Long tenantId,
org.bonitasoft.engine.transaction.UserTransactionService userTransactionService,
org.bonitasoft.engine.sessionaccessor.SessionAccessor sessionAccessor)
public void start()
throws org.bonitasoft.engine.commons.exceptions.SBonitaException
start in interface org.bonitasoft.engine.commons.LifecycleServiceorg.bonitasoft.engine.commons.exceptions.SBonitaExceptionpublic void stop()
throws org.bonitasoft.engine.commons.exceptions.SBonitaException
stop in interface org.bonitasoft.engine.commons.LifecycleServiceorg.bonitasoft.engine.commons.exceptions.SBonitaExceptionpublic void pause()
throws org.bonitasoft.engine.commons.exceptions.SBonitaException
pause in interface org.bonitasoft.engine.commons.LifecycleServiceorg.bonitasoft.engine.commons.exceptions.SBonitaExceptionpublic void resume()
throws org.bonitasoft.engine.commons.exceptions.SBonitaException
resume in interface org.bonitasoft.engine.commons.LifecycleServiceorg.bonitasoft.engine.commons.exceptions.SBonitaExceptionpublic void triggerMatchingOfMessages()
throws org.bonitasoft.engine.transaction.STransactionNotFoundException
org.bonitasoft.engine.transaction.STransactionNotFoundExceptionpublic void resetMessageCouple(long messageInstanceId,
long waitingMessageId)
throws org.bonitasoft.engine.core.process.instance.api.exceptions.event.trigger.SWaitingEventReadException,
org.bonitasoft.engine.core.process.instance.api.exceptions.event.trigger.SWaitingEventModificationException,
org.bonitasoft.engine.core.process.instance.api.exceptions.event.trigger.SMessageModificationException,
org.bonitasoft.engine.core.process.instance.api.exceptions.event.trigger.SMessageInstanceReadException
org.bonitasoft.engine.core.process.instance.api.exceptions.event.trigger.SWaitingEventReadExceptionorg.bonitasoft.engine.core.process.instance.api.exceptions.event.trigger.SWaitingEventModificationExceptionorg.bonitasoft.engine.core.process.instance.api.exceptions.event.trigger.SMessageModificationExceptionorg.bonitasoft.engine.core.process.instance.api.exceptions.event.trigger.SMessageInstanceReadExceptionCopyright © 2017 Bonitasoft S.A.. All rights reserved.