Package org.springframework.messaging
@NullMarked
package org.springframework.messaging
Support for working with messaging APIs and protocols.
-
ClassDescriptionMessage<T>A generic message representation with headers and body.Defines methods for sending messages.Exception that indicates an error occurred during message delivery.Simple contract for handling a
Message
.Exception that indicates an error occurred during message handling.The headers for aMessage
.The base exception for any failures related to messaging.AMessageChannel
from which messages may be actively received through polling.Reactive contract for handling aMessage
.AMessageChannel
that maintains a registry of subscribers and invokes them to handle messages sent through this channel.