<?xml version="1.0" encoding="UTF-8"?>
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
|
<!-- 事务消息生产 -->
|
<bean id="localTransactionChecker"
|
class="com.yeshi.fanli.util.rocketmq.order.MQLocalTransactionChecker"></bean>
|
<bean id="orderTransactionProducer"
|
class="com.aliyun.openservices.ons.api.bean.TransactionProducerBean"
|
init-method="start" destroy-method="shutdown">
|
<property name="properties"> <!--事务消息生产者配置信息 -->
|
<props>
|
<prop key="AccessKey">LTAI4FwmTxVCuzTaoZtDiV8z</prop>
|
<prop key="SecretKey">ixWg90QbYFKP6ae5xpAo2P1qwIyll5</prop>
|
<prop key="GROUP_ID">GID_ORDER</prop>
|
<prop key="NAMESRV_ADDR">http://MQ_INST_1205444665315884_BbaMbxF4.mq-internet-access.mq-internet.aliyuncs.com:80
|
</prop>
|
</props>
|
</property>
|
<property name="localTransactionChecker" ref="localTransactionChecker"></property>
|
</bean>
|
|
</beans>
|