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 ProcessEngineengineprotected java.lang.StringexecutionIdprotected static java.lang.StringMESSAGE_EVENT_TYPEprotected java.lang.StringmessageNameprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapper
-
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 EventSubscriptionDtogetEventSubscription()voidtriggerEvent(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:
getEventSubscriptionin interfaceEventSubscriptionResource
-
triggerEvent
public void triggerEvent(ExecutionTriggerDto triggerDto)
- Specified by:
triggerEventin interfaceEventSubscriptionResource
-
-