Interface ReactiveMessagePipeline
-
- All Superinterfaces:
java.lang.AutoCloseable
public interface ReactiveMessagePipeline extends java.lang.AutoCloseable
Reactive message pipeline interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
close()
Closes the reactive pipeline.boolean
isRunning()
Gets whether the reactive pipeline is running.ReactiveMessagePipeline
start()
Starts the reactive pipeline.ReactiveMessagePipeline
stop()
Stops the reactive pipeline.
-
-
-
Method Detail
-
start
ReactiveMessagePipeline start()
Starts the reactive pipeline.- Returns:
- the pipeline
-
stop
ReactiveMessagePipeline stop()
Stops the reactive pipeline.- Returns:
- the reactive pipeline
-
isRunning
boolean isRunning()
Gets whether the reactive pipeline is running.- Returns:
- true if the reactive pipeline is running
-
close
default void close() throws java.lang.Exception
Closes the reactive pipeline.- Specified by:
close
in interfacejava.lang.AutoCloseable
- Throws:
java.lang.Exception
- if an error occurs
-
-