public static interface Flow.Builder
| Modifier and Type | Method and Description |
|---|---|
Flow |
build()
Builds a flow with the provided configuration.
|
Flow.Builder |
messageProcessors(List<Processor> messageProcessors)
Configures the message processors to execute as part of flow.
|
Flow.Builder |
messageSource(MessageSource messageSource)
Configures the message source for the flow.
|
Flow.Builder |
messagingExceptionHandler(MessagingExceptionHandler exceptionListener)
Configures the exception listener to manage exceptions thrown on the flow execution.
|
Flow.Builder |
processingStrategyFactory(ProcessingStrategyFactory processingStrategyFactory)
Configures the factory used to create processing strategies on the created flow.
|
Flow.Builder messageSource(MessageSource messageSource)
messageSource - message source to use. Non null.Flow.Builder messageProcessors(List<Processor> messageProcessors)
messageProcessors - message processors to execute. Non null.Flow.Builder messagingExceptionHandler(MessagingExceptionHandler exceptionListener)
exceptionListener - exception listener to use on the flow. Non null.Flow.Builder processingStrategyFactory(ProcessingStrategyFactory processingStrategyFactory)
processingStrategyFactory - factory to create processing strategies. Non null.Flow build()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.