activemq增加事务
This commit is contained in:
parent
d749e1d8ce
commit
994bd23c16
|
@ -28,6 +28,7 @@
|
||||||
<property name="connectionFactory" ref="connectionFactory"/>
|
<property name="connectionFactory" ref="connectionFactory"/>
|
||||||
<property name="destination" ref="defaultQueueDestination"/>
|
<property name="destination" ref="defaultQueueDestination"/>
|
||||||
<property name="messageListener" ref="defaultQueueMessageListener"/>
|
<property name="messageListener" ref="defaultQueueMessageListener"/>
|
||||||
|
<property name="sessionTransacted" value="true"/>
|
||||||
<!--<property name="concurrency" value="4-10"/>-->
|
<!--<property name="concurrency" value="4-10"/>-->
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
<property name="connectionFactory" ref="connectionFactory"/>
|
<property name="connectionFactory" ref="connectionFactory"/>
|
||||||
<property name="destination" ref="defaultQueueDestination"/>
|
<property name="destination" ref="defaultQueueDestination"/>
|
||||||
<property name="messageListener" ref="defaultQueueMessageListener"/>
|
<property name="messageListener" ref="defaultQueueMessageListener"/>
|
||||||
|
<property name="sessionTransacted" value="true"/>
|
||||||
<!--<property name="concurrency" value="4-10"/>-->
|
<!--<property name="concurrency" value="4-10"/>-->
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue