public class InboundChannelModelProcessor extends Object implements ChannelModelProcessor
| Modifier and Type | Field and Description |
|---|---|
protected EventRegistryEngineConfiguration |
engineConfiguration |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
| Constructor and Description |
|---|
InboundChannelModelProcessor(EventRegistryEngineConfiguration engineConfiguration,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
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) |
protected EventRegistryEngineConfiguration engineConfiguration
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
public InboundChannelModelProcessor(EventRegistryEngineConfiguration engineConfiguration, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public boolean canProcess(ChannelModel channelModel)
canProcess in interface ChannelModelProcessorpublic boolean canProcessIfChannelModelAlreadyRegistered(ChannelModel channelModel)
canProcessIfChannelModelAlreadyRegistered in interface ChannelModelProcessorpublic void registerChannelModel(ChannelModel channelModel, String tenantId, EventRegistry eventRegistry, EventRepositoryService eventRepositoryService, boolean fallbackToDefaultTenant)
registerChannelModel in interface ChannelModelProcessorprotected void registerChannelModel(InboundChannelModel inboundChannelModel, EventRepositoryService eventRepositoryService, com.fasterxml.jackson.databind.ObjectMapper objectMapper, boolean fallbackToDefaultTenant)
protected InboundEventProcessingPipeline createJsonEventProcessingPipeline(InboundChannelModel channelModel, EventRepositoryService eventRepositoryService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
protected InboundEventProcessingPipeline createXmlEventProcessingPipeline(InboundChannelModel channelModel, EventRepositoryService eventRepositoryService)
protected <T> InboundEventPayloadExtractor<T> createInboundEventPayloadExtractor(InboundChannelModel channelModel, Supplier<InboundEventPayloadExtractor<T>> payloadExtractorProvider)
protected InboundEventProcessingPipeline createExpressionEventProcessingPipeline(InboundChannelModel channelModel, EventRepositoryService eventRepositoryService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public void unregisterChannelModel(ChannelModel channelModel, String tenantId, EventRepositoryService eventRepositoryService)
unregisterChannelModel in interface ChannelModelProcessorCopyright © 2022 Flowable. All rights reserved.