# 10. 消息

### &#x20;10. 消息传递

Spring 框架为与消息系统集成提供了广泛的支持，从 JMS API 的简化使用`JmsTemplate`到异步接收消息的完整基础设施。Spring AMQP 为高级消息队列协议提供了类似的功能集。Spring Boot 还为RabbitMQ和`RabbitTemplate`提供自动配置选项。Spring WebSocket 本身包含对 STOMP 消息传递的支持，而 Spring Boot 通过启动器和少量自动配置对此提供支持。Spring Boot 还支持 Apache Kafka 和 Apache Pulsar。

####

####

####

####

####

####

####

####

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.shiker.tech/spring-boot-can-kao-wen-dang/10.-xiao-xi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
