Class RemoteChunkingWorkerBuilder<I,​O>

  • Type Parameters:
    I - type of input items
    O - type of output items

    public class RemoteChunkingWorkerBuilder<I,​O>
    extends java.lang.Object
    Builder for a worker in a remote chunking setup. This builder:
    Since:
    4.1
    Author:
    Mahmoud Ben Hassine
    • Constructor Detail

      • RemoteChunkingWorkerBuilder

        public RemoteChunkingWorkerBuilder()
    • Method Detail

      • inputChannel

        public RemoteChunkingWorkerBuilder<I,​O> inputChannel​(org.springframework.messaging.MessageChannel inputChannel)
        Set the input channel on which items sent by the master are received.
        Parameters:
        inputChannel - the input channel
        Returns:
        this builder instance for fluent chaining
      • outputChannel

        public RemoteChunkingWorkerBuilder<I,​O> outputChannel​(org.springframework.messaging.MessageChannel outputChannel)
        Set the output channel on which replies will be sent to the master step.
        Parameters:
        outputChannel - the output channel
        Returns:
        this builder instance for fluent chaining
      • build

        public org.springframework.integration.dsl.IntegrationFlow build()
        Create an IntegrationFlow with a ChunkProcessorChunkHandler configured as a service activator listening to the input channel and replying on the output channel.
        Returns:
        the integration flow