Class MessageEventSubscriptionResource
- java.lang.Object
-
- org.camunda.bpm.engine.rest.sub.runtime.impl.MessageEventSubscriptionResource
-
- All Implemented Interfaces:
EventSubscriptionResource
public class MessageEventSubscriptionResource extends java.lang.Object implements EventSubscriptionResource
-
-
Field Summary
Fields Modifier and Type Field Description protected ProcessEngine
engine
protected java.lang.String
executionId
protected static java.lang.String
MESSAGE_EVENT_TYPE
protected java.lang.String
messageName
protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
-
Constructor Summary
Constructors Constructor Description MessageEventSubscriptionResource(ProcessEngine engine, java.lang.String executionId, java.lang.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 java.lang.String MESSAGE_EVENT_TYPE
- See Also:
- Constant Field Values
-
engine
protected ProcessEngine engine
-
executionId
protected java.lang.String executionId
-
messageName
protected java.lang.String messageName
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Detail
-
MessageEventSubscriptionResource
public MessageEventSubscriptionResource(ProcessEngine engine, java.lang.String executionId, java.lang.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
-
-