public class OutboundChannelDefinitionBuilderImpl extends Object implements OutboundChannelModelBuilder
| Modifier and Type | Class and Description |
|---|---|
static class |
OutboundChannelDefinitionBuilderImpl.OutboundEventProcessingPipelineBuilderImpl |
static class |
OutboundChannelDefinitionBuilderImpl.OutboundJmsChannelBuilderImpl |
static class |
OutboundChannelDefinitionBuilderImpl.OutboundKafkaChannelBuilderImpl |
static class |
OutboundChannelDefinitionBuilderImpl.OutboundRabbitChannelBuilderImpl |
OutboundChannelModelBuilder.OutboundEventProcessingPipelineBuilder, OutboundChannelModelBuilder.OutboundJmsChannelBuilder, OutboundChannelModelBuilder.OutboundKafkaChannelBuilder, OutboundChannelModelBuilder.OutboundRabbitChannelBuilder| Modifier and Type | Field and Description |
|---|---|
protected String |
category |
protected OutboundChannelModel |
channelDefinition |
protected ChannelJsonConverter |
channelJsonConverter |
protected String |
deploymentName |
protected String |
deploymentTenantId |
protected EventRepositoryService |
eventRepository |
protected String |
key |
protected String |
parentDeploymentId |
protected String |
resourceName |
| Constructor and Description |
|---|
OutboundChannelDefinitionBuilderImpl(EventRepositoryService eventRepository,
ChannelJsonConverter channelJsonConverter) |
| Modifier and Type | Method and Description |
|---|---|
OutboundChannelModel |
buildChannelModel() |
OutboundChannelModelBuilder |
category(String category)
Set the category for the channel deployment.
|
OutboundChannelModelBuilder.OutboundEventProcessingPipelineBuilder |
channelAdapter(String delegateExpression)
Sets a custom
OutboundEventChannelAdapter via a delegate expression. |
EventDeployment |
deploy()
Creates the
OutboundChannelModel instance based on the configuration
and registers it with the EventRegistry. |
OutboundChannelModelBuilder |
deploymentName(String deploymentName)
Set the name for the channel deployment.
|
OutboundChannelModelBuilder |
deploymentTenantId(String deploymentTenantId)
Set the tenant id for the channel deployment.
|
OutboundChannelModelBuilder.OutboundJmsChannelBuilder |
jmsChannelAdapter(String destination)
Configures an adapter which will send events using JMS.
|
OutboundChannelModelBuilder.OutboundKafkaChannelBuilder |
kafkaChannelAdapter(String topic)
Configures an adapter which will send events using Kafka.
|
OutboundChannelModelBuilder |
key(String key)
Each channel needs to have a unique key to identity it.
|
OutboundChannelModelBuilder |
parentDeploymentId(String parentDeploymentId)
Set the parent deployment id for the channel deployment.
|
OutboundChannelModelBuilder.OutboundRabbitChannelBuilder |
rabbitChannelAdapter(String routingKey)
Configures an adapter which will send events using RabbitMQ.
|
OutboundChannelModelBuilder |
resourceName(String resourceName)
Set the resource name for the channel model.
|
protected EventRepositoryService eventRepository
protected ChannelJsonConverter channelJsonConverter
protected OutboundChannelModel channelDefinition
protected String deploymentName
protected String resourceName
protected String category
protected String parentDeploymentId
protected String deploymentTenantId
protected String key
public OutboundChannelDefinitionBuilderImpl(EventRepositoryService eventRepository, ChannelJsonConverter channelJsonConverter)
public OutboundChannelModelBuilder key(String key)
OutboundChannelModelBuilderkey in interface OutboundChannelModelBuilderpublic OutboundChannelModelBuilder deploymentName(String deploymentName)
OutboundChannelModelBuilderdeploymentName in interface OutboundChannelModelBuilderpublic OutboundChannelModelBuilder resourceName(String resourceName)
OutboundChannelModelBuilderresourceName in interface OutboundChannelModelBuilderpublic OutboundChannelModelBuilder category(String category)
OutboundChannelModelBuildercategory in interface OutboundChannelModelBuilderpublic OutboundChannelModelBuilder parentDeploymentId(String parentDeploymentId)
OutboundChannelModelBuilderparentDeploymentId in interface OutboundChannelModelBuilderpublic OutboundChannelModelBuilder deploymentTenantId(String deploymentTenantId)
OutboundChannelModelBuilderdeploymentTenantId in interface OutboundChannelModelBuilderpublic OutboundChannelModelBuilder.OutboundEventProcessingPipelineBuilder channelAdapter(String delegateExpression)
OutboundChannelModelBuilderOutboundEventChannelAdapter via a delegate expression.channelAdapter in interface OutboundChannelModelBuilderpublic OutboundChannelModelBuilder.OutboundJmsChannelBuilder jmsChannelAdapter(String destination)
OutboundChannelModelBuilderjmsChannelAdapter in interface OutboundChannelModelBuilderpublic OutboundChannelModelBuilder.OutboundRabbitChannelBuilder rabbitChannelAdapter(String routingKey)
OutboundChannelModelBuilderrabbitChannelAdapter in interface OutboundChannelModelBuilderpublic OutboundChannelModelBuilder.OutboundKafkaChannelBuilder kafkaChannelAdapter(String topic)
OutboundChannelModelBuilderkafkaChannelAdapter in interface OutboundChannelModelBuilderpublic EventDeployment deploy()
OutboundChannelModelBuilderOutboundChannelModel instance based on the configuration
and registers it with the EventRegistry.deploy in interface OutboundChannelModelBuilderpublic OutboundChannelModel buildChannelModel()
Copyright © 2023 Flowable. All rights reserved.