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 class
static class
static class
static class
Nested classes/interfaces inherited from interface org.flowable.eventregistry.api.model.OutboundChannelModelBuilder
OutboundChannelModelBuilder.OutboundEventProcessingPipelineBuilder, OutboundChannelModelBuilder.OutboundJmsChannelBuilder, OutboundChannelModelBuilder.OutboundKafkaChannelBuilder, OutboundChannelModelBuilder.OutboundRabbitChannelBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected OutboundChannelModel
protected ChannelJsonConverter
protected String
protected String
protected EventRepositoryService
protected String
protected String
protected String
-
Constructor Summary
ConstructorsConstructorDescriptionOutboundChannelDefinitionBuilderImpl
(EventRepositoryService eventRepository, ChannelJsonConverter channelJsonConverter) -
Method Summary
Modifier and TypeMethodDescriptionSet the category for the channel deployment.channelAdapter
(String delegateExpression) Sets a customOutboundEventChannelAdapter
via a delegate expression.deploy()
Creates theOutboundChannelModel
instance 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:OutboundChannelModelBuilder
Each channel needs to have a unique key to identity it.- Specified by:
key
in interfaceOutboundChannelModelBuilder
-
deploymentName
Description copied from interface:OutboundChannelModelBuilder
Set the name for the channel deployment.- Specified by:
deploymentName
in interfaceOutboundChannelModelBuilder
-
resourceName
Description copied from interface:OutboundChannelModelBuilder
Set the resource name for the channel model.- Specified by:
resourceName
in interfaceOutboundChannelModelBuilder
-
category
Description copied from interface:OutboundChannelModelBuilder
Set the category for the channel deployment.- Specified by:
category
in interfaceOutboundChannelModelBuilder
-
parentDeploymentId
Description copied from interface:OutboundChannelModelBuilder
Set the parent deployment id for the channel deployment.- Specified by:
parentDeploymentId
in interfaceOutboundChannelModelBuilder
-
deploymentTenantId
Description copied from interface:OutboundChannelModelBuilder
Set the tenant id for the channel deployment.- Specified by:
deploymentTenantId
in interfaceOutboundChannelModelBuilder
-
channelAdapter
public OutboundChannelModelBuilder.OutboundEventProcessingPipelineBuilder channelAdapter(String delegateExpression) Description copied from interface:OutboundChannelModelBuilder
Sets a customOutboundEventChannelAdapter
via a delegate expression.- Specified by:
channelAdapter
in interfaceOutboundChannelModelBuilder
-
jmsChannelAdapter
Description copied from interface:OutboundChannelModelBuilder
Configures an adapter which will send events using JMS.- Specified by:
jmsChannelAdapter
in interfaceOutboundChannelModelBuilder
-
rabbitChannelAdapter
public OutboundChannelModelBuilder.OutboundRabbitChannelBuilder rabbitChannelAdapter(String routingKey) Description copied from interface:OutboundChannelModelBuilder
Configures an adapter which will send events using RabbitMQ.- Specified by:
rabbitChannelAdapter
in interfaceOutboundChannelModelBuilder
-
kafkaChannelAdapter
Description copied from interface:OutboundChannelModelBuilder
Configures an adapter which will send events using Kafka.- Specified by:
kafkaChannelAdapter
in interfaceOutboundChannelModelBuilder
-
deploy
Description copied from interface:OutboundChannelModelBuilder
Creates theOutboundChannelModel
instance based on the configuration and registers it with theEventRegistry
.- Specified by:
deploy
in interfaceOutboundChannelModelBuilder
-
buildChannelModel
-