public class InboundChannelDefinitionBuilderImpl extends Object implements InboundChannelModelBuilder
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| Modifier and Type | Field and Description |
|---|---|
protected String |
category |
protected ChannelJsonConverter |
channelJsonConverter |
protected InboundChannelModel |
channelModel |
protected String |
deploymentName |
protected String |
deploymentTenantId |
protected EventRepositoryService |
eventRepository |
protected InboundChannelModelBuilder.InboundEventProcessingPipelineBuilder |
inboundEventProcessingPipelineBuilder |
protected String |
key |
protected String |
parentDeploymentId |
protected String |
resourceName |
| Constructor and Description |
|---|
InboundChannelDefinitionBuilderImpl(EventRepositoryService eventRepository,
ChannelJsonConverter channelJsonConverter) |
| Modifier and Type | Method and Description |
|---|---|
protected ChannelModel |
buildChannelModel() |
InboundChannelModelBuilder |
category(String category)
Set the category for the channel deployment.
|
InboundChannelModelBuilder.InboundEventProcessingPipelineBuilder |
channelAdapter(String delegateExpression)
Sets a custom
InboundEventChannelAdapter via a delegate expression. |
EventDeployment |
deploy()
Creates the
InboundChannelModel instance based on the configuration
and registers it with the EventRepositoryService. |
InboundChannelModelBuilder |
deploymentName(String deploymentName)
Set the name for the channel deployment.
|
InboundChannelModelBuilder |
deploymentTenantId(String deploymentTenantId)
Set the tenant id for the channel deployment.
|
InboundChannelModelBuilder.InboundJmsChannelBuilder |
jmsChannelAdapter(String destinationName)
Configures an adapter which will receive events using JMS.
|
InboundChannelModelBuilder.InboundKafkaChannelBuilder |
kafkaChannelAdapter(String topic)
Configures an adapter which receives events using Kafka.
|
InboundChannelModelBuilder |
key(String key)
Each channel needs to have a unique key to identity it.
|
InboundChannelModelBuilder |
parentDeploymentId(String parentDeploymentId)
Set the parent deployment id for the channel deployment.
|
InboundChannelModelBuilder.InboundRabbitChannelBuilder |
rabbitChannelAdapter(String queueName)
Configures an adapter which will receive events using a RabbitMQ.
|
InboundChannelModelBuilder |
resourceName(String resourceName)
Set the resource name for the channel model.
|
protected EventRepositoryService eventRepository
protected ChannelJsonConverter channelJsonConverter
protected InboundChannelModel channelModel
protected String deploymentName
protected String resourceName
protected String category
protected String parentDeploymentId
protected String deploymentTenantId
protected String key
protected InboundChannelModelBuilder.InboundEventProcessingPipelineBuilder inboundEventProcessingPipelineBuilder
public InboundChannelDefinitionBuilderImpl(EventRepositoryService eventRepository, ChannelJsonConverter channelJsonConverter)
public InboundChannelModelBuilder key(String key)
InboundChannelModelBuilderkey in interface InboundChannelModelBuilderpublic InboundChannelModelBuilder deploymentName(String deploymentName)
InboundChannelModelBuilderdeploymentName in interface InboundChannelModelBuilderpublic InboundChannelModelBuilder resourceName(String resourceName)
InboundChannelModelBuilderresourceName in interface InboundChannelModelBuilderpublic InboundChannelModelBuilder category(String category)
InboundChannelModelBuildercategory in interface InboundChannelModelBuilderpublic InboundChannelModelBuilder parentDeploymentId(String parentDeploymentId)
InboundChannelModelBuilderparentDeploymentId in interface InboundChannelModelBuilderpublic InboundChannelModelBuilder deploymentTenantId(String deploymentTenantId)
InboundChannelModelBuilderdeploymentTenantId in interface InboundChannelModelBuilderpublic InboundChannelModelBuilder.InboundEventProcessingPipelineBuilder channelAdapter(String delegateExpression)
InboundChannelModelBuilderInboundEventChannelAdapter via a delegate expression.channelAdapter in interface InboundChannelModelBuilderpublic InboundChannelModelBuilder.InboundJmsChannelBuilder jmsChannelAdapter(String destinationName)
InboundChannelModelBuilderjmsChannelAdapter in interface InboundChannelModelBuilderpublic InboundChannelModelBuilder.InboundRabbitChannelBuilder rabbitChannelAdapter(String queueName)
InboundChannelModelBuilderrabbitChannelAdapter in interface InboundChannelModelBuilderpublic InboundChannelModelBuilder.InboundKafkaChannelBuilder kafkaChannelAdapter(String topic)
InboundChannelModelBuilderkafkaChannelAdapter in interface InboundChannelModelBuilderpublic EventDeployment deploy()
InboundChannelModelBuilderInboundChannelModel instance based on the configuration
and registers it with the EventRepositoryService.deploy in interface InboundChannelModelBuilderprotected ChannelModel buildChannelModel()
Copyright © 2023 Flowable. All rights reserved.