Class MessageEventSubscriptionResource
- java.lang.Object
-
- org.camunda.bpm.engine.rest.sub.runtime.impl.MessageEventSubscriptionResource
-
- All Implemented Interfaces:
EventSubscriptionResource
public class MessageEventSubscriptionResource extends Object implements EventSubscriptionResource
-
-
Field Summary
Fields Modifier and Type Field Description protected ProcessEngine
engine
protected String
executionId
protected static String
MESSAGE_EVENT_TYPE
protected String
messageName
protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
-
Constructor Summary
Constructors Constructor Description MessageEventSubscriptionResource(ProcessEngine engine, String executionId, String messageName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventSubscriptionDto
getEventSubscription()
void
triggerEvent(ExecutionTriggerDto triggerDto)
-
-
-
Field Detail
-
MESSAGE_EVENT_TYPE
protected static final String MESSAGE_EVENT_TYPE
- See Also:
- Constant Field Values
-
engine
protected ProcessEngine engine
-
executionId
protected String executionId
-
messageName
protected String messageName
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Detail
-
MessageEventSubscriptionResource
public MessageEventSubscriptionResource(ProcessEngine engine, String executionId, String messageName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
getEventSubscription
public EventSubscriptionDto getEventSubscription()
- Specified by:
getEventSubscription
in interfaceEventSubscriptionResource
-
triggerEvent
public void triggerEvent(ExecutionTriggerDto triggerDto)
- Specified by:
triggerEvent
in interfaceEventSubscriptionResource
-
-