Class SplitterEndpointSpec<S extends AbstractMessageSplitter>

Type Parameters:
S - the target SplitterEndpointSpec implementation type.
All Implemented Interfaces:
DisposableBean, FactoryBean<reactor.util.function.Tuple2<ConsumerEndpointFactoryBean,S>>, InitializingBean, Lifecycle, Phased, SmartLifecycle, ComponentsRegistration

@Deprecated(since="6.2", forRemoval=true) public class SplitterEndpointSpec<S extends AbstractMessageSplitter> extends ConsumerEndpointSpec<SplitterEndpointSpec<S>,S>
Deprecated, for removal: This API element is subject to removal in a future version.
since 6.2 in favor of SplitterSpec
Since:
5.0
Author:
Artem Bilan
  • Constructor Details

    • SplitterEndpointSpec

      protected SplitterEndpointSpec(S splitter)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • applySequence

      public SplitterEndpointSpec<S> applySequence(boolean applySequence)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Set the applySequence flag to the specified value. Defaults to true.
      Parameters:
      applySequence - the applySequence.
      Returns:
      the endpoint spec.
      See Also:
    • delimiters

      public SplitterEndpointSpec<S> delimiters(String delimiters)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Set delimiters to tokenize String values. The default is null indicating that no tokenizing should occur. If delimiters are provided, they will be applied to any String payload. Only applied if provided splitter is instance of DefaultMessageSplitter.
      Parameters:
      delimiters - The delimiters.
      Returns:
      the endpoint spec.
      See Also:
    • discardChannel

      public SplitterEndpointSpec<S> discardChannel(MessageChannel discardChannel)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specify a channel where rejected Messages should be sent. If the discard channel is null (the default), rejected Messages will be dropped. A "Rejected Message" means that split function has returned an empty result (but not null): no items to iterate for sending.
      Parameters:
      discardChannel - The discard channel.
      Returns:
      the endpoint spec.
      Since:
      5.2
      See Also:
    • discardChannel

      public SplitterEndpointSpec<S> discardChannel(String discardChannelName)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specify a channel bean name where rejected Messages should be sent. If the discard channel is null (the default), rejected Messages will be dropped. A "Rejected Message" means that split function has returned an empty result (but not null): no items to iterate for sending.
      Parameters:
      discardChannelName - The discard channel bean name.
      Returns:
      the endpoint spec.
      Since:
      5.2
      See Also:
    • discardFlow

      public SplitterEndpointSpec<S> discardFlow(IntegrationFlow discardFlow)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Configure a subflow to run for discarded messages instead of a discardChannel(MessageChannel).
      Parameters:
      discardFlow - the discard flow.
      Returns:
      the endpoint spec.
      Since:
      5.2