Top Description Methods
org.springframework.messaging

public Interface ReactiveMessageHandler

Known Direct Implementers
org.springframework.messaging.handler.invocation.reactive.AbstractMethodMessageHandler
Annotations
@FunctionalInterface
Imports
reactor.core.publisher.Mono

Reactive contract for handling a Message.
Author
Rossen Stoyanchev
Since
5.2
See Also
MessageHandler

Method Summary

Modifier and TypeMethod and Description
public Mono<Void>

Returns:

a completion Mono for the result of the message handling
handleMessage
(Message<?>
the message to be handled
message
)

Handle the given message.

Method Detail

handleMessageback to summary
public Mono<Void> handleMessage(Message<?> message)

Handle the given message.

Parameters
message:Message<?>

the message to be handled

Returns:Mono<Void>

a completion Mono for the result of the message handling