public static interface Processor.Builder extends SdkPojo, CopyableBuilder<Processor.Builder,Processor>
| Modifier and Type | Method and Description |
|---|---|
default Processor.Builder |
configuration(Consumer<ProcessorConfiguration.Builder> configuration)
The information about the type of processor and its identifier.
|
Processor.Builder |
configuration(ProcessorConfiguration configuration)
The information about the type of processor and its identifier.
|
Processor.Builder |
executionOrder(Integer executionOrder)
The sequence in which processors run.
|
Processor.Builder |
fallbackAction(FallbackAction fallbackAction)
Determines whether to continue with message processing or stop it in cases where communication with a
processor fails.
|
Processor.Builder |
fallbackAction(String fallbackAction)
Determines whether to continue with message processing or stop it in cases where communication with a
processor fails.
|
Processor.Builder |
name(String name)
The name of the channel flow.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildProcessor.Builder name(String name)
The name of the channel flow.
name - The name of the channel flow.Processor.Builder configuration(ProcessorConfiguration configuration)
The information about the type of processor and its identifier.
configuration - The information about the type of processor and its identifier.default Processor.Builder configuration(Consumer<ProcessorConfiguration.Builder> configuration)
The information about the type of processor and its identifier.
This is a convenience method that creates an instance of theProcessorConfiguration.Builder avoiding
the need to create one manually via ProcessorConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to configuration(ProcessorConfiguration).
configuration - a consumer that will call methods on ProcessorConfiguration.Builderconfiguration(ProcessorConfiguration)Processor.Builder executionOrder(Integer executionOrder)
The sequence in which processors run. If you have multiple processors in a channel flow, message processing goes through each processor in the sequence. The value determines the sequence. At this point, we support only 1 processor within a flow.
executionOrder - The sequence in which processors run. If you have multiple processors in a channel flow, message
processing goes through each processor in the sequence. The value determines the sequence. At this
point, we support only 1 processor within a flow.Processor.Builder fallbackAction(String fallbackAction)
Determines whether to continue with message processing or stop it in cases where communication with a
processor fails. If a processor has a fallback action of ABORT and communication with it fails,
the processor sets the message status to FAILED and does not send the message to any recipients.
Note that if the last processor in the channel flow sequence has a fallback action of CONTINUE
and communication with the processor fails, then the message is considered processed and sent to recipients
of the channel.
fallbackAction - Determines whether to continue with message processing or stop it in cases where communication with a
processor fails. If a processor has a fallback action of ABORT and communication with it
fails, the processor sets the message status to FAILED and does not send the message to
any recipients. Note that if the last processor in the channel flow sequence has a fallback action of
CONTINUE and communication with the processor fails, then the message is considered
processed and sent to recipients of the channel.FallbackAction,
FallbackActionProcessor.Builder fallbackAction(FallbackAction fallbackAction)
Determines whether to continue with message processing or stop it in cases where communication with a
processor fails. If a processor has a fallback action of ABORT and communication with it fails,
the processor sets the message status to FAILED and does not send the message to any recipients.
Note that if the last processor in the channel flow sequence has a fallback action of CONTINUE
and communication with the processor fails, then the message is considered processed and sent to recipients
of the channel.
fallbackAction - Determines whether to continue with message processing or stop it in cases where communication with a
processor fails. If a processor has a fallback action of ABORT and communication with it
fails, the processor sets the message status to FAILED and does not send the message to
any recipients. Note that if the last processor in the channel flow sequence has a fallback action of
CONTINUE and communication with the processor fails, then the message is considered
processed and sent to recipients of the channel.FallbackAction,
FallbackActionCopyright © 2023. All rights reserved.