Update redis和mq异步写说明文档.md
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -44,13 +44,13 @@ YhProducerTemplate.send()方法改成异步发送消息,首先写入jvm queue | @@ -44,13 +44,13 @@ YhProducerTemplate.send()方法改成异步发送消息,首先写入jvm queue | ||
44 | <!--发送消息 --> | 44 | <!--发送消息 --> |
45 | <bean id="producerTemplateMine" class="com.yoho.core.message.YhProducerTemplate" primary="true"> | 45 | <bean id="producerTemplateMine" class="com.yoho.core.message.YhProducerTemplate" primary="true"> |
46 | <property name="amqpTemplate" ref="amqpTemplate"/> | 46 | <property name="amqpTemplate" ref="amqpTemplate"/> |
47 | - <property name="enable" value="false"/> | 47 | + <property name="asyncEnable" value="false"/> |
48 | </bean> | 48 | </bean> |
49 | ``` | 49 | ``` |
50 | 也可以这样配置 | 50 | 也可以这样配置 |
51 | ``` | 51 | ``` |
52 | <bean id="producerTemplateMine" parent="producerTemplate"> | 52 | <bean id="producerTemplateMine" parent="producerTemplate"> |
53 | - <property name="enable" value="false"/> | 53 | + <property name="asyncEnable" value="false"/> |
54 | </bean> | 54 | </bean> |
55 | ``` | 55 | ``` |
56 | 56 |
-
Please register or login to post a comment