Fix new Sonar smells
* Use `tryEmitNext` on Reactor `Sink` since `emitNext` is deprecated * Add `MessageDeliveryException` emission when `send()` returns `false` in the `FluxMessageChannel` for `subscribeTo` provided `Publisher`
This commit is contained in:
@@ -544,7 +544,7 @@ public class RSocketOutboundGatewayIntegrationTests {
|
||||
|
||||
@MessageMapping("receive")
|
||||
void receive(String payload) {
|
||||
this.fireForgetPayloads.emitNext(payload);
|
||||
this.fireForgetPayloads.tryEmitNext(payload);
|
||||
}
|
||||
|
||||
@MessageMapping("echo")
|
||||
|
||||
Reference in New Issue
Block a user