spring 6.1.4
spring.messaging
org.springframework.messaging
MessageHandler
Top
Description
Methods
org.springframework.messaging
public
Interface MessageHandler
Known Direct Implementers
org.
springframework.
messaging.
handler.
invocation.
AbstractMethodMessageHandler
,
org.
springframework.
messaging.
simp.
broker.
AbstractBrokerMessageHandler
,
org.
springframework.
messaging.
simp.
user.
UserDestinationMessageHandler
,
org.
springframework.
messaging.
simp.
user.
UserRegistryMessageHandler
Annotations
@FunctionalInterface
Simple contract for handling a
Message
.
Authors
Mark Fisher, Iwein Fuld
Since
4.0
See Also
ReactiveMessageHandler
Method Summary
Modifier and Type
Method and Description
public
void
handleMessage
(
Message
<?>
the message to be handled
message
)
Handle the given message.
Method Detail
handleMessage
back to summary
public
void
handleMessage
(
Message
<?> message
)
throws
MessagingException
Handle the given message.
Parameters
message:
Message
<?>
the message to be handled
Exceptions
MessagingException
:
if the handler failed to process the message