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 class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
Nested 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 String
protected ChannelJsonConverter
protected InboundChannelModel
protected String
protected String
protected EventRepositoryService
protected String
protected String
protected String
-
Constructor Summary
ConstructorsConstructorDescriptionInboundChannelDefinitionBuilderImpl
(EventRepositoryService eventRepository, ChannelJsonConverter channelJsonConverter) -
Method Summary
Modifier and TypeMethodDescriptionprotected ChannelModel
Set the category for the channel deployment.channelAdapter
(String delegateExpression) Sets a customInboundEventChannelAdapter
via a delegate expression.deploy()
Creates theInboundChannelModel
instance 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:InboundChannelModelBuilder
Each channel needs to have a unique key to identity it.- Specified by:
key
in interfaceInboundChannelModelBuilder
-
deploymentName
Description copied from interface:InboundChannelModelBuilder
Set the name for the channel deployment.- Specified by:
deploymentName
in interfaceInboundChannelModelBuilder
-
resourceName
Description copied from interface:InboundChannelModelBuilder
Set the resource name for the channel model.- Specified by:
resourceName
in interfaceInboundChannelModelBuilder
-
category
Description copied from interface:InboundChannelModelBuilder
Set the category for the channel deployment.- Specified by:
category
in interfaceInboundChannelModelBuilder
-
parentDeploymentId
Description copied from interface:InboundChannelModelBuilder
Set the parent deployment id for the channel deployment.- Specified by:
parentDeploymentId
in interfaceInboundChannelModelBuilder
-
deploymentTenantId
Description copied from interface:InboundChannelModelBuilder
Set the tenant id for the channel deployment.- Specified by:
deploymentTenantId
in interfaceInboundChannelModelBuilder
-
channelAdapter
public InboundChannelModelBuilder.InboundEventProcessingPipelineBuilder channelAdapter(String delegateExpression) Description copied from interface:InboundChannelModelBuilder
Sets a customInboundEventChannelAdapter
via a delegate expression.- Specified by:
channelAdapter
in interfaceInboundChannelModelBuilder
-
jmsChannelAdapter
public InboundChannelModelBuilder.InboundJmsChannelBuilder jmsChannelAdapter(String destinationName) Description copied from interface:InboundChannelModelBuilder
Configures an adapter which will receive events using JMS.- Specified by:
jmsChannelAdapter
in interfaceInboundChannelModelBuilder
-
rabbitChannelAdapter
public InboundChannelModelBuilder.InboundRabbitChannelBuilder rabbitChannelAdapter(String queueName) Description copied from interface:InboundChannelModelBuilder
Configures an adapter which will receive events using a RabbitMQ.- Specified by:
rabbitChannelAdapter
in interfaceInboundChannelModelBuilder
-
kafkaChannelAdapter
Description copied from interface:InboundChannelModelBuilder
Configures an adapter which receives events using Kafka.- Specified by:
kafkaChannelAdapter
in interfaceInboundChannelModelBuilder
-
deploy
Description copied from interface:InboundChannelModelBuilder
Creates theInboundChannelModel
instance based on the configuration and registers it with theEventRepositoryService
.- Specified by:
deploy
in interfaceInboundChannelModelBuilder
-
buildChannelModel
-