程序包 org.springframework.messaging
Support for working with messaging APIs and protocols.
接口概要 接口 说明 Message<T> A generic message representation with headers and body.MessageChannel Defines methods for sending messages.MessageHandler Simple contract for handling aMessage
.PollableChannel AMessageChannel
from which messages may be actively received through polling.ReactiveMessageHandler Reactive contract for handling aMessage
.SubscribableChannel AMessageChannel
that maintains a registry of subscribers and invokes them to handle messages sent through this channel.类概要 类 说明 MessageHeaders The headers for aMessage
.异常错误概要 异常错误 说明 MessageDeliveryException Exception that indicates an error occurred during message delivery.MessageHandlingException Exception that indicates an error occurred during message handling.MessagingException The base exception for any failures related to messaging.