Creates a BidiFlow that can be joined with a Flow to add timeout functionality.
Creates a BidiFlow that can be joined with a Flow to add timeout functionality. This API is specifically for the flows that guarantee message ordering. For flows that do not guarantee message ordering, please use TimeoutBidiUnordered.
the type of the elements pulled from the upstream
the type of the elements that are pushed to downstream
the duration after which the processing of an element would be considered timed out
an optional clean up function to be applied on timed out elements when pushed
a BidiFlow with timeout functionality
Java API