auto-config.xml
1.27 KB
<?xml version="1.0" encoding="UTF-8"?>
<config>
<group>
<!-- ************************** web namespace ******************************* -->
<property name="yoho.unions.env.namespace" defaultValue="union" description="应用命名空间" />
<property name="jdbc.mysql.readonlyinslave" defaultValue="true" description="读操作是否只在从库" />
<!-- memcached -->
<!-- MQ -->
<property name="rabbit.mq.host" defaultValue="192.168.102.162" description="" />
<property name="rabbit.mq.port" defaultValue="32810" description="" />
<property name="rabbit.mq.username" defaultValue="yoho" description="" />
<property name="rabbit.mq.password" defaultValue="yoho" description="" />
<property name="rabbit.mq.virtualHost" defaultValue="/yoho" description="" />
<property name="activeTime" defaultValue="3600" description="" />
</group>
<script>
<generate template="META-INF/autoconf/jdbc.properties" destfile="WEB-INF/classes/jdbc.properties" />
<generate template="META-INF/autoconf/config.properties" destfile="WEB-INF/classes/config.properties" />
<generate template="META-INF/autoconf/logback.xml" destfile="WEB-INF/classes/logback.xml" />
<generate template="META-INF/autoconf/services.yml" destfile="WEB-INF/classes/services.yml" />
</script>
</config>