public class MessageEventSubscriptionResource extends Object implements EventSubscriptionResource
| Modifier and Type | Field and Description |
|---|---|
protected ProcessEngine |
engine |
protected String |
executionId |
protected static String |
MESSAGE_EVENT_TYPE |
protected String |
messageName |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
| Constructor and Description |
|---|
MessageEventSubscriptionResource(ProcessEngine engine,
String executionId,
String messageName,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
EventSubscriptionDto |
getEventSubscription() |
void |
triggerEvent(ExecutionTriggerDto triggerDto) |
protected static final String MESSAGE_EVENT_TYPE
protected ProcessEngine engine
protected String executionId
protected String messageName
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
public MessageEventSubscriptionResource(ProcessEngine engine, String executionId, String messageName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public EventSubscriptionDto getEventSubscription()
getEventSubscription in interface EventSubscriptionResourcepublic void triggerEvent(ExecutionTriggerDto triggerDto)
triggerEvent in interface EventSubscriptionResourceCopyright © 2021. All rights reserved.