StreamOperations interface for StreamBridge

Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2548
This commit is contained in:
Soby Chacko
2022-12-12 16:26:50 -05:00
committed by Oleg Zhurakousky
parent dc2554c83d
commit 7a3f0f8197
4 changed files with 128 additions and 69 deletions

View File

@@ -824,6 +824,8 @@ You have the flexibility to make the patterns more strict or customized to your
With this approach, the application gets the ability to decide which interceptors to inject in `StreamBridge` rather than applying all the available interceptors.
NOTE: `StreamBridge` provides a contract through the `StreamOperations` interface that contains all the `send` methods of `StreamBridge`. Therefore, applications may choose to autowire using `StreamOperations`. This is handy when it comes to unit testing code that uses `StreamBridge` by providing a mock or similar mechanisms for the `StreamOperations` interface.
===== Reactive Functions support