Class InboundChannelModelProcessor
java.lang.Object
org.flowable.eventregistry.impl.pipeline.InboundChannelModelProcessor
- All Implemented Interfaces:
ChannelModelProcessor
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected EventRegistryEngineConfiguration
protected com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Summary
ConstructorsConstructorDescriptionInboundChannelModelProcessor
(EventRegistryEngineConfiguration engineConfiguration, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canProcess
(ChannelModel channelModel) boolean
canProcessIfChannelModelAlreadyRegistered
(ChannelModel channelModel) protected InboundEventProcessingPipeline
createExpressionEventProcessingPipeline
(InboundChannelModel channelModel, EventRepositoryService eventRepositoryService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) protected <T> InboundEventPayloadExtractor<T>
createInboundEventPayloadExtractor
(InboundChannelModel channelModel, Supplier<InboundEventPayloadExtractor<T>> payloadExtractorProvider) protected InboundEventProcessingPipeline
createJsonEventProcessingPipeline
(InboundChannelModel channelModel, EventRepositoryService eventRepositoryService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) protected InboundEventProcessingPipeline
createXmlEventProcessingPipeline
(InboundChannelModel channelModel, EventRepositoryService eventRepositoryService) void
registerChannelModel
(ChannelModel channelModel, String tenantId, EventRegistry eventRegistry, EventRepositoryService eventRepositoryService, boolean fallbackToDefaultTenant) protected void
registerChannelModel
(InboundChannelModel inboundChannelModel, EventRepositoryService eventRepositoryService, com.fasterxml.jackson.databind.ObjectMapper objectMapper, boolean fallbackToDefaultTenant) protected <T> T
resolveExpression
(String expression, Class<T> type) void
unregisterChannelModel
(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:
canProcess
in interfaceChannelModelProcessor
-
canProcessIfChannelModelAlreadyRegistered
- Specified by:
canProcessIfChannelModelAlreadyRegistered
in interfaceChannelModelProcessor
-
registerChannelModel
public void registerChannelModel(ChannelModel channelModel, String tenantId, EventRegistry eventRegistry, EventRepositoryService eventRepositoryService, boolean fallbackToDefaultTenant) - Specified by:
registerChannelModel
in 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:
unregisterChannelModel
in interfaceChannelModelProcessor
-