KotlinIntegrationFlowDefinition
Functions
A short-cut for the aggregate { processor(aggregatorProcessor) }
Populate the AggregatingMessageHandler with provided options from AggregatorSpec. In addition, accept options for the integration endpoint using GenericEndpointSpec.
Populate a org.springframework.integration.aggregator.BarrierMessageHandler instance for provided timeout and options from BarrierSpec and endpoint options from GenericEndpointSpec.
Populate a BridgeHandler to the current integration flow position.
Populate a MessageChannel instance at the current IntegrationFlow chain position using the Channels factory fluent API.
Populate a MessageChannelReference instance at the current IntegrationFlow chain position. The provided messageChannelName
is used for the bean registration (org.springframework.integration.channel.DirectChannel), if there is no such a bean in the application context. Otherwise, the existing MessageChannel bean is used to wire integration endpoints.
Populate a MessageChannel instance at the current IntegrationFlow chain position using the MessageChannelSpec fluent API.
Populate the provided MessageChannel instance at the current IntegrationFlow chain position. The messageChannel
can be an existing bean, or fresh instance, in which case the org.springframework.integration.dsl.context.IntegrationFlowBeanPostProcessor will populate it as a bean with a generated name.
Populate the MessageTransformingHandler for the ClaimCheckInTransformer with provided MessageStore. In addition, accept options for the integration endpoint using GenericEndpointSpec.
Populate the MessageTransformingHandler for the ClaimCheckOutTransformer with provided MessageStore and removeMessage
flag.
Populate the MessageTransformingHandler for the ClaimCheckOutTransformer with provided MessageStore and removeMessage
flag. In addition, accept options for the integration endpoint using GenericEndpointSpec.
Populate the Control Bus
EI Pattern specific MessageHandler implementation at the current IntegrationFlow chain position.
Populate the Control Bus
EI Pattern specific MessageHandler implementation at the current IntegrationFlow chain position.
Inline function for IntegrationFlowDefinition.convert providing a convert<MyType>()
variant with reified generic type.
Populate a DelayHandler to the current integration flow position. The DelayerEndpointSpec#messageGroupId(String) is required option.
Populate a org.springframework.integration.transformer.ContentEnricher to the current integration flow position with provided options.
Populate a MessageTransformingHandler for a org.springframework.integration.transformer.HeaderEnricher as the result of provided consumer.
Accept a Map of values to be used for the Message header enrichment. values
can apply an Expression to be evaluated against a request Message.
Populate a MessageTransformingHandler for a org.springframework.integration.transformer.HeaderEnricher using header values from provided MapBuilder. In addition, accept options for the integration endpoint using GenericEndpointSpec.
Inline function for IntegrationFlowDefinition.filter providing a filter<MyTypeIn>()
variant with reified generic type.
Populate a MessageFilter with MethodInvokingSelector for the method of the provided service.
Populate a MessageFilter with MessageSelector for the provided SpEL expression. In addition, accept options for the integration endpoint using KotlinFilterEndpointSpec:
Populate a MessageFilter with the provided MessageSelector. In addition, accept options for the integration endpoint using KotlinFilterEndpointSpec.
Populate a MessageFilter with MethodInvokingSelector for the MessageProcessor from the provided MessageProcessorSpec. In addition, accept options for the integration endpoint using KotlinFilterEndpointSpec.
Populate an org.springframework.integration.channel.FixedSubscriberChannel instance at the current IntegrationFlow chain position. The provided messageChannelName
is used for the bean registration.
Populate a FluxMessageChannel to start a reactive processing for upstream data, wrap it to a Flux, apply provided function via Flux.transform and emit the result to one more FluxMessageChannel, subscribed in the downstream flow.
Populate the "artificial" org.springframework.integration.gateway.GatewayMessageHandler for the provided subflow
with options from GatewayEndpointSpec.
Populate the "artificial" org.springframework.integration.gateway.GatewayMessageHandler for the provided requestChannel
to send a request with options from GatewayEndpointSpec. Uses org.springframework.integration.gateway.RequestReplyExchanger Proxy on the background.
Populate a ServiceActivatingHandler for the provided MessageHandler lambda.
Populate a ServiceActivatingHandler for the org.springframework.integration.handler.MethodInvokingMessageProcessor to invoke the provided GenericHandler at runtime.
Populate a ServiceActivatingHandler for the selected protocol specific MessageHandler implementation from Namespace Factory
:
Populate a ServiceActivatingHandler for the provided MessageHandler implementation.
Populate a ServiceActivatingHandler for the provided MessageHandler implementation. In addition, accept options for the integration endpoint using GenericEndpointSpec.
Populate a ServiceActivatingHandler for the org.springframework.integration.handler.MethodInvokingMessageProcessor to invoke the method
for provided bean
at runtime. In addition, accept options for the integration endpoint using GenericEndpointSpec.
Populate a ServiceActivatingHandler for the provided MessageHandler lambda. In addition, accept options for the integration endpoint using GenericEndpointSpec.
Populate a ServiceActivatingHandler for the org.springframework.integration.handler.MethodInvokingMessageProcessor to invoke the provided GenericHandler at runtime. In addition, accept options for the integration endpoint using GenericEndpointSpec.
Populate a ServiceActivatingHandler for the org.springframework.integration.handler.MethodInvokingMessageProcessor to invoke the method
for provided bean
at runtime.
Populate a ServiceActivatingHandler for the selected protocol specific MessageHandler implementation from Namespace Factory
: In addition, accept options for the integration endpoint using GenericEndpointSpec.
Populate a ServiceActivatingHandler for the MessageProcessor from the provided MessageProcessorSpec. In addition, accept options for the integration endpoint using GenericEndpointSpec.
Provide the HeaderFilter to the current IntegrationFlow.
Populate the provided MessageTransformingHandler for the provided HeaderFilter.
Populate a WireTap for the current channel with the LoggingHandler subscriber for the INFO
logging level and org.springframework.integration.handler.LoggingHandler
as a default logging category.
Populate a WireTap for the current channel with the LoggingHandler subscriber for the INFO
logging level, the org.springframework.integration.handler.LoggingHandler
as a default logging category and function for the log message.
Populate a WireTap for the current channel with the LoggingHandler subscriber for the provided logging category and INFO
logging level.
Populate a WireTap for the current channel with the LoggingHandler subscriber for the INFO
logging level, the org.springframework.integration.handler.LoggingHandler
as a default logging category and SpEL expression to evaluate logger message at runtime against the request Message.
Populate a WireTap for the current channel with the LoggingHandler subscriber for the provided LoggingHandler.Level logging level, the provided logging category and function for the log message.
Populate a WireTap for the current channel with the LoggingHandler subscriber for the INFO
LoggingHandler.Level logging level, the provided logging category and SpEL expression to evaluate logger message at runtime against the request Message.
Populate a WireTap for the current channel with the LoggingHandler subscriber for the provided LoggingHandler.Level logging level, the org.springframework.integration.handler.LoggingHandler
as a default logging category and function for the log message.
Populate a WireTap for the current channel with the LoggingHandler subscriber for provided LoggingHandler.Level logging level and org.springframework.integration.handler.LoggingHandler
as a default logging category.
Populate a WireTap for the current channel with the LoggingHandler subscriber for the provided LoggingHandler.Level logging level, the org.springframework.integration.handler.LoggingHandler
as a default logging category and SpEL expression to evaluate logger message at runtime against the request Message. When this operator is used in the end of flow, it is treated as one-way handler without any replies to continue.
Populate a WireTap for the current channel with the LoggingHandler subscriber for the provided LoggingHandler.Level logging level, logging category and function for the log message.
Populate a WireTap for the current channel with the LoggingHandler subscriber for the provided LoggingHandler.Level logging level, logging category and SpEL expression for the log message.
The org.springframework.integration.channel.BroadcastCapableChannel channel()
method specific implementation to allow the use of the 'subflow' subscriber capability.
Populate the org.springframework.integration.aggregator.ResequencingMessageHandler with provided options from ResequencerSpec. In addition, accept options for the integration endpoint using GenericEndpointSpec.
Inline function for IntegrationFlowDefinition.route providing a route<MyTypeIn>()
variant with reified generic type.
Populate the provided AbstractMessageRouter implementation to the current integration flow position. In addition, accept options for the integration endpoint using GenericEndpointSpec.
Populate the MethodInvokingRouter for the method of the provided service and its method with default options.
Populate the ExpressionEvaluatingRouter for provided SpEL expression with provided options from KotlinRouterSpec.
Populate the MethodInvokingRouter for provided bean and its method with default options.
Populate the MethodInvokingRouter for the MessageProcessor from the provided MessageProcessorSpec with default options.
Populate the MethodInvokingRouter for the method of the provided service and its method with provided options from KotlinRouterSpec.
Populate the MethodInvokingRouter for provided bean and its method with provided options from KotlinRouterSpec.
Populate the ErrorMessageExceptionTypeRouter with options from the KotlinRouterSpec.
Populate the RecipientListRouter with options from the KotlinRecipientListRouterSpec.
Populate a ScatterGatherHandler to the current integration flow position based on the provided KotlinRecipientListRouterSpec for scattering function and default AggregatorSpec for gathering function.
Populate a ScatterGatherHandler to the current integration flow position based on the provided KotlinRecipientListRouterSpec for scattering function and AggregatorSpec for gathering function.
Populate a ScatterGatherHandler to the current integration flow position based on the provided MessageChannel for scattering function and AggregatorSpec for gathering function.
Populate the DefaultMessageSplitter with provided options to the current integration flow position.
Inline function for IntegrationFlowDefinition.split providing a split<MyTypeIn>()
variant with reified generic type.
Populate the MethodInvokingSplitter to evaluate the provided method
of the service
at runtime.
Populate the MethodInvokingSplitter to evaluate the provided method
of the bean
at runtime.
Populate a splitter endpoint.
Inline function for IntegrationFlowDefinition.transform providing a transform<MyTypeIn, MyTypeOut>()
variant with reified generic type.
Populate the Transformer EI Pattern specific MessageHandler implementation for the SpEL Expression.
Populate the MessageTransformingHandler instance for the org.springframework.integration.handler.MessageProcessor from provided MessageProcessorSpec.
Populate the Transformer EI Pattern specific MessageHandler implementation for the provided Transformer instance.
Populate the MessageTransformingHandler for the MethodInvokingTransformer to invoke the service method at runtime.
Populate a transformer endpoint.
Populate a ServiceActivatingHandler instance to perform MessageTriggerAction and endpoint options from GenericEndpointSpec.
Populate the Wire Tap
EI Pattern specific org.springframework.messaging.support.ChannelInterceptor implementation to the current channel. This method can be used after any channel()
for explicit MessageChannel, but with the caution do not impact existing org.springframework.messaging.support.ChannelInterceptors.