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 org.codehaus.jackson.map.ObjectMapper |
objectMapper |
Constructor and Description |
---|
MessageEventSubscriptionResource(ProcessEngine engine,
String executionId,
String messageName,
org.codehaus.jackson.map.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 org.codehaus.jackson.map.ObjectMapper objectMapper
public MessageEventSubscriptionResource(ProcessEngine engine, String executionId, String messageName, org.codehaus.jackson.map.ObjectMapper objectMapper)
public EventSubscriptionDto getEventSubscription()
getEventSubscription
in interface EventSubscriptionResource
public void triggerEvent(ExecutionTriggerDto triggerDto)
triggerEvent
in interface EventSubscriptionResource
Copyright © 2018. All rights reserved.