Class InboundChannelModelProcessor
- java.lang.Object
-
- org.flowable.eventregistry.impl.pipeline.InboundChannelModelProcessor
-
- All Implemented Interfaces:
ChannelModelProcessor
public class InboundChannelModelProcessor extends Object implements ChannelModelProcessor
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected EventRegistryEngineConfigurationengineConfigurationprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapper
-
Constructor Summary
Constructors Constructor Description InboundChannelModelProcessor(EventRegistryEngineConfiguration engineConfiguration, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanProcess(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 Detail
-
engineConfiguration
protected EventRegistryEngineConfiguration engineConfiguration
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Detail
-
InboundChannelModelProcessor
public InboundChannelModelProcessor(EventRegistryEngineConfiguration engineConfiguration, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
canProcess
public boolean canProcess(ChannelModel channelModel)
- Specified by:
canProcessin interfaceChannelModelProcessor
-
canProcessIfChannelModelAlreadyRegistered
public boolean canProcessIfChannelModelAlreadyRegistered(ChannelModel channelModel)
- 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)
-
unregisterChannelModel
public void unregisterChannelModel(ChannelModel channelModel, String tenantId, EventRepositoryService eventRepositoryService)
- Specified by:
unregisterChannelModelin interfaceChannelModelProcessor
-
-