Class InboundChannelModelProcessor
java.lang.Object
org.flowable.eventregistry.impl.pipeline.InboundChannelModelProcessor
- All Implemented Interfaces:
ChannelModelProcessor
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected EventRegistryEngineConfigurationprotected com.fasterxml.jackson.databind.ObjectMapper -
Constructor Summary
ConstructorsConstructorDescriptionInboundChannelModelProcessor(EventRegistryEngineConfiguration engineConfiguration, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanProcess(ChannelModel channelModel) booleancanProcessIfChannelModelAlreadyRegistered(ChannelModel channelModel) protected InboundEventProcessingPipelinecreateExpressionEventProcessingPipeline(InboundChannelModel channelModel, EventRepositoryService eventRepositoryService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) protected <T> InboundEventPayloadExtractor<T>createInboundEventPayloadExtractor(InboundChannelModel channelModel, Supplier<InboundEventPayloadExtractor<T>> payloadExtractorProvider) protected InboundEventProcessingPipelinecreateJsonEventProcessingPipeline(InboundChannelModel channelModel, EventRepositoryService eventRepositoryService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) protected InboundEventProcessingPipelinecreateXmlEventProcessingPipeline(InboundChannelModel channelModel, EventRepositoryService eventRepositoryService) voidregisterChannelModel(ChannelModel channelModel, String tenantId, EventRegistry eventRegistry, EventRepositoryService eventRepositoryService, boolean fallbackToDefaultTenant) protected voidregisterChannelModel(InboundChannelModel inboundChannelModel, EventRepositoryService eventRepositoryService, com.fasterxml.jackson.databind.ObjectMapper objectMapper, boolean fallbackToDefaultTenant) protected <T> TresolveExpression(String expression, Class<T> type) voidunregisterChannelModel(ChannelModel channelModel, String tenantId, EventRepositoryService eventRepositoryService)
-
Field Details
-
engineConfiguration
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
InboundChannelModelProcessor
public InboundChannelModelProcessor(EventRegistryEngineConfiguration engineConfiguration, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
canProcess
- Specified by:
canProcessin interfaceChannelModelProcessor
-
canProcessIfChannelModelAlreadyRegistered
- Specified by:
canProcessIfChannelModelAlreadyRegisteredin interfaceChannelModelProcessor
-
registerChannelModel
public void registerChannelModel(ChannelModel channelModel, String tenantId, EventRegistry eventRegistry, EventRepositoryService eventRepositoryService, boolean fallbackToDefaultTenant) - Specified by:
registerChannelModelin interfaceChannelModelProcessor
-
registerChannelModel
protected void registerChannelModel(InboundChannelModel inboundChannelModel, EventRepositoryService eventRepositoryService, com.fasterxml.jackson.databind.ObjectMapper objectMapper, boolean fallbackToDefaultTenant) -
createJsonEventProcessingPipeline
protected InboundEventProcessingPipeline createJsonEventProcessingPipeline(InboundChannelModel channelModel, EventRepositoryService eventRepositoryService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
createXmlEventProcessingPipeline
protected InboundEventProcessingPipeline createXmlEventProcessingPipeline(InboundChannelModel channelModel, EventRepositoryService eventRepositoryService) -
createInboundEventPayloadExtractor
protected <T> InboundEventPayloadExtractor<T> createInboundEventPayloadExtractor(InboundChannelModel channelModel, Supplier<InboundEventPayloadExtractor<T>> payloadExtractorProvider) -
createExpressionEventProcessingPipeline
protected InboundEventProcessingPipeline createExpressionEventProcessingPipeline(InboundChannelModel channelModel, EventRepositoryService eventRepositoryService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
resolveExpression
-
unregisterChannelModel
public void unregisterChannelModel(ChannelModel channelModel, String tenantId, EventRepositoryService eventRepositoryService) - Specified by:
unregisterChannelModelin interfaceChannelModelProcessor
-