Class InboundChannelDefinitionBuilderImpl
java.lang.Object
org.flowable.eventregistry.impl.model.InboundChannelDefinitionBuilderImpl
- All Implemented Interfaces:
InboundChannelModelBuilder
public class InboundChannelDefinitionBuilderImpl
extends Object
implements InboundChannelModelBuilder
- Author:
- Joram Barrez, Filip Hrisafov
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classNested classes/interfaces inherited from interface org.flowable.eventregistry.api.model.InboundChannelModelBuilder
InboundChannelModelBuilder.InboundEventFilterBuilder, InboundChannelModelBuilder.InboundEventFilterJsonBuilder, InboundChannelModelBuilder.InboundEventFilterXmlBuilder, InboundChannelModelBuilder.InboundEventKeyDetectorBuilder, InboundChannelModelBuilder.InboundEventKeyJsonDetectorBuilder, InboundChannelModelBuilder.InboundEventKeyXmlDetectorBuilder, InboundChannelModelBuilder.InboundEventPayloadExtractorBuilder, InboundChannelModelBuilder.InboundEventPayloadJsonExtractorBuilder, InboundChannelModelBuilder.InboundEventPayloadXmlExtractorBuilder, InboundChannelModelBuilder.InboundEventProcessingPipelineBuilder, InboundChannelModelBuilder.InboundEventTenantDetectorBuilder, InboundChannelModelBuilder.InboundEventTenantJsonDetectorBuilder, InboundChannelModelBuilder.InboundEventTenantXmlDetectorBuilder, InboundChannelModelBuilder.InboundEventTransformerBuilder, InboundChannelModelBuilder.InboundJmsChannelBuilder, InboundChannelModelBuilder.InboundKafkaChannelBuilder, InboundChannelModelBuilder.InboundRabbitChannelBuilder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected ChannelJsonConverterprotected InboundChannelModelprotected Stringprotected Stringprotected EventRepositoryServiceprotected Stringprotected Stringprotected String -
Constructor Summary
ConstructorsConstructorDescriptionInboundChannelDefinitionBuilderImpl(EventRepositoryService eventRepository, ChannelJsonConverter channelJsonConverter) -
Method Summary
Modifier and TypeMethodDescriptionprotected ChannelModelSet the category for the channel deployment.channelAdapter(String delegateExpression) Sets a customInboundEventChannelAdaptervia a delegate expression.deploy()Creates theInboundChannelModelinstance based on the configuration and registers it with theEventRepositoryService.deploymentName(String deploymentName) Set the name for the channel deployment.deploymentTenantId(String deploymentTenantId) Set the tenant id for the channel deployment.jmsChannelAdapter(String destinationName) Configures an adapter which will receive events using JMS.kafkaChannelAdapter(String topic) Configures an adapter which receives events using Kafka.Each channel needs to have a unique key to identity it.parentDeploymentId(String parentDeploymentId) Set the parent deployment id for the channel deployment.rabbitChannelAdapter(String queueName) Configures an adapter which will receive events using a RabbitMQ.resourceName(String resourceName) Set the resource name for the channel model.
-
Field Details
-
eventRepository
-
channelJsonConverter
-
channelModel
-
deploymentName
-
resourceName
-
category
-
parentDeploymentId
-
deploymentTenantId
-
key
-
inboundEventProcessingPipelineBuilder
protected InboundChannelModelBuilder.InboundEventProcessingPipelineBuilder inboundEventProcessingPipelineBuilder
-
-
Constructor Details
-
InboundChannelDefinitionBuilderImpl
public InboundChannelDefinitionBuilderImpl(EventRepositoryService eventRepository, ChannelJsonConverter channelJsonConverter)
-
-
Method Details
-
key
Description copied from interface:InboundChannelModelBuilderEach channel needs to have a unique key to identity it.- Specified by:
keyin interfaceInboundChannelModelBuilder
-
deploymentName
Description copied from interface:InboundChannelModelBuilderSet the name for the channel deployment.- Specified by:
deploymentNamein interfaceInboundChannelModelBuilder
-
resourceName
Description copied from interface:InboundChannelModelBuilderSet the resource name for the channel model.- Specified by:
resourceNamein interfaceInboundChannelModelBuilder
-
category
Description copied from interface:InboundChannelModelBuilderSet the category for the channel deployment.- Specified by:
categoryin interfaceInboundChannelModelBuilder
-
parentDeploymentId
Description copied from interface:InboundChannelModelBuilderSet the parent deployment id for the channel deployment.- Specified by:
parentDeploymentIdin interfaceInboundChannelModelBuilder
-
deploymentTenantId
Description copied from interface:InboundChannelModelBuilderSet the tenant id for the channel deployment.- Specified by:
deploymentTenantIdin interfaceInboundChannelModelBuilder
-
channelAdapter
public InboundChannelModelBuilder.InboundEventProcessingPipelineBuilder channelAdapter(String delegateExpression) Description copied from interface:InboundChannelModelBuilderSets a customInboundEventChannelAdaptervia a delegate expression.- Specified by:
channelAdapterin interfaceInboundChannelModelBuilder
-
jmsChannelAdapter
public InboundChannelModelBuilder.InboundJmsChannelBuilder jmsChannelAdapter(String destinationName) Description copied from interface:InboundChannelModelBuilderConfigures an adapter which will receive events using JMS.- Specified by:
jmsChannelAdapterin interfaceInboundChannelModelBuilder
-
rabbitChannelAdapter
public InboundChannelModelBuilder.InboundRabbitChannelBuilder rabbitChannelAdapter(String queueName) Description copied from interface:InboundChannelModelBuilderConfigures an adapter which will receive events using a RabbitMQ.- Specified by:
rabbitChannelAdapterin interfaceInboundChannelModelBuilder
-
kafkaChannelAdapter
Description copied from interface:InboundChannelModelBuilderConfigures an adapter which receives events using Kafka.- Specified by:
kafkaChannelAdapterin interfaceInboundChannelModelBuilder
-
deploy
Description copied from interface:InboundChannelModelBuilderCreates theInboundChannelModelinstance based on the configuration and registers it with theEventRepositoryService.- Specified by:
deployin interfaceInboundChannelModelBuilder
-
buildChannelModel
-