-
Notifications
You must be signed in to change notification settings - Fork 1.4k
SpringCloud Quick Start
纳兰丶 edited this page Mar 1, 2018
·
4 revisions
spring:
datasource:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://192.168.1.68:3306/tcc_account?useUnicode=true&characterEncoding=utf8
username: xiaoyu
password: Wgj@555888
-
<context:component-scan base-package="com.hmily.tcc.*"/> <aop:aspectj-autoproxy expose-proxy="true"/> <bean id="tccTransactionBootstrap" class="com.hmily.tcc.core.bootstrap.TccTransactionBootstrap"> <property name="serializer" value="kryo"/> <property name="coordinatorQueueMax" value="5000"/> <property name="coordinatorThreadMax" value="8"/> <property name="recoverDelayTime" value="120"/> <property name="retryMax" value="30"/> <property name="rejectPolicy" value="Abort"/> <property name="blockingQueueType" value="Linked"/> <property name="scheduledDelay" value="120"/> <property name="scheduledThreadMax" value="4"/> <property name="repositorySupport" value="db"/> <property name="tccDbConfig"> <bean class="com.hmily.tcc.common.config.TccDbConfig"> <property name="url" value="jdbc:mysql://192.168.1.68:3306/tcc?useUnicode=true&characterEncoding=utf8"/> <property name="driverClassName" value="com.mysql.jdbc.Driver"/> <property name="password" value="Wgj@555888"/> <property name="username" value="xiaoyu"/> </bean> </property> </bean>