activemq增加事务

This commit is contained in:
shuzheng 2016-12-15 14:17:36 +08:00
parent d749e1d8ce
commit 994bd23c16
2 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@
<property name="connectionFactory" ref="connectionFactory"/>
<property name="destination" ref="defaultQueueDestination"/>
<property name="messageListener" ref="defaultQueueMessageListener"/>
<property name="sessionTransacted" value="true"/>
<!--<property name="concurrency" value="4-10"/>-->
</bean>

View File

@ -46,6 +46,7 @@
<property name="connectionFactory" ref="connectionFactory"/>
<property name="destination" ref="defaultQueueDestination"/>
<property name="messageListener" ref="defaultQueueMessageListener"/>
<property name="sessionTransacted" value="true"/>
<!--<property name="concurrency" value="4-10"/>-->
</bean>