Skip to content

Commit 81d9249

Browse files
Update 2019-07-07-how-to-use-amq.markdown
1 parent 5fec948 commit 81d9249

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_posts/2019/2019-07-07-how-to-use-amq.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ tags:
6060
不设置异步同时持久化的情况下,send 方法都是同步的,并且一直阻塞直到ActiveMQ
6161
发回确认消息:消息已经存储在持久性数据存储中,接受到 broker 的确认消息之前应用程序或线程会被阻塞。 PERSISTENT (异步也能保证持久性)
6262

63-
###同步发送代码示例:
63+
### 同步发送代码示例:
6464

6565
```java
6666
connection.createSession(Boolean.TRUE, Session.AUTO_ACKNOWLEDGE);
@@ -256,4 +256,4 @@ public class LogConsumerWithAMQ implements MessageListener {
256256
1. [消息队列对比传统模式的优点](https://blog.csdn.net/wonderful_life_mrchi/article/details/84667426)
257257
2. [ActiveMQ异步发送使用及常见误区](https://www.jianshu.com/p/58e9deae6c4b)
258258
3. [activemq发送同步发送和异步发送](https://blog.csdn.net/YAOQINGGG/article/details/79833378)
259-
4. [jms的消息确认和事务](https://segmentfault.com/a/1190000015920000)
259+
4. [jms的消息确认和事务](https://segmentfault.com/a/1190000015920000)

0 commit comments

Comments
 (0)