Class OutboundChannelDefinitionBuilderImpl
java.lang.Object
org.flowable.eventregistry.impl.model.OutboundChannelDefinitionBuilderImpl
- All Implemented Interfaces:
OutboundChannelModelBuilder
public class OutboundChannelDefinitionBuilderImpl
extends Object
implements OutboundChannelModelBuilder
- Author:
- Joram Barrez, Filip Hrisafov
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classNested classes/interfaces inherited from interface org.flowable.eventregistry.api.model.OutboundChannelModelBuilder
OutboundChannelModelBuilder.OutboundEventProcessingPipelineBuilder, OutboundChannelModelBuilder.OutboundJmsChannelBuilder, OutboundChannelModelBuilder.OutboundKafkaChannelBuilder, OutboundChannelModelBuilder.OutboundRabbitChannelBuilder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected OutboundChannelModelprotected ChannelJsonConverterprotected Stringprotected Stringprotected EventRepositoryServiceprotected Stringprotected Stringprotected String -
Constructor Summary
ConstructorsConstructorDescriptionOutboundChannelDefinitionBuilderImpl(EventRepositoryService eventRepository, ChannelJsonConverter channelJsonConverter) -
Method Summary
Modifier and TypeMethodDescriptionSet the category for the channel deployment.channelAdapter(String delegateExpression) Sets a customOutboundEventChannelAdaptervia a delegate expression.deploy()Creates theOutboundChannelModelinstance based on the configuration and registers it with theEventRegistry.deploymentName(String deploymentName) Set the name for the channel deployment.deploymentTenantId(String deploymentTenantId) Set the tenant id for the channel deployment.jmsChannelAdapter(String destination) Configures an adapter which will send events using JMS.kafkaChannelAdapter(String topic) Configures an adapter which will send 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 routingKey) Configures an adapter which will send events using RabbitMQ.resourceName(String resourceName) Set the resource name for the channel model.
-
Field Details
-
eventRepository
-
channelJsonConverter
-
channelDefinition
-
deploymentName
-
resourceName
-
category
-
parentDeploymentId
-
deploymentTenantId
-
key
-
-
Constructor Details
-
OutboundChannelDefinitionBuilderImpl
public OutboundChannelDefinitionBuilderImpl(EventRepositoryService eventRepository, ChannelJsonConverter channelJsonConverter)
-
-
Method Details
-
key
Description copied from interface:OutboundChannelModelBuilderEach channel needs to have a unique key to identity it.- Specified by:
keyin interfaceOutboundChannelModelBuilder
-
deploymentName
Description copied from interface:OutboundChannelModelBuilderSet the name for the channel deployment.- Specified by:
deploymentNamein interfaceOutboundChannelModelBuilder
-
resourceName
Description copied from interface:OutboundChannelModelBuilderSet the resource name for the channel model.- Specified by:
resourceNamein interfaceOutboundChannelModelBuilder
-
category
Description copied from interface:OutboundChannelModelBuilderSet the category for the channel deployment.- Specified by:
categoryin interfaceOutboundChannelModelBuilder
-
parentDeploymentId
Description copied from interface:OutboundChannelModelBuilderSet the parent deployment id for the channel deployment.- Specified by:
parentDeploymentIdin interfaceOutboundChannelModelBuilder
-
deploymentTenantId
Description copied from interface:OutboundChannelModelBuilderSet the tenant id for the channel deployment.- Specified by:
deploymentTenantIdin interfaceOutboundChannelModelBuilder
-
channelAdapter
public OutboundChannelModelBuilder.OutboundEventProcessingPipelineBuilder channelAdapter(String delegateExpression) Description copied from interface:OutboundChannelModelBuilderSets a customOutboundEventChannelAdaptervia a delegate expression.- Specified by:
channelAdapterin interfaceOutboundChannelModelBuilder
-
jmsChannelAdapter
Description copied from interface:OutboundChannelModelBuilderConfigures an adapter which will send events using JMS.- Specified by:
jmsChannelAdapterin interfaceOutboundChannelModelBuilder
-
rabbitChannelAdapter
public OutboundChannelModelBuilder.OutboundRabbitChannelBuilder rabbitChannelAdapter(String routingKey) Description copied from interface:OutboundChannelModelBuilderConfigures an adapter which will send events using RabbitMQ.- Specified by:
rabbitChannelAdapterin interfaceOutboundChannelModelBuilder
-
kafkaChannelAdapter
Description copied from interface:OutboundChannelModelBuilderConfigures an adapter which will send events using Kafka.- Specified by:
kafkaChannelAdapterin interfaceOutboundChannelModelBuilder
-
deploy
Description copied from interface:OutboundChannelModelBuilderCreates theOutboundChannelModelinstance based on the configuration and registers it with theEventRegistry.- Specified by:
deployin interfaceOutboundChannelModelBuilder
-
buildChannelModel
-