conf.xml
2.0 KB
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd"
>
<context:property-placeholder
location="classpath:META-INF/conf/jdbc.properties,classpath:META-INF/conf/mq.properties,classpath:META-INF/conf/sms.properties" ignore-unresolvable="true"/>
<bean id="redisResources"
class="org.springframework.beans.factory.config.PropertiesFactoryBean">
<property name="location" value="classpath:META-INF/conf/connect-redis.properties" />
</bean>
<!-- <bean id="fastDbResource"
class="com.sibu.common.util.ResouceUtils">
<property name="fastDbResource" value="classpath:test_fdfs_client.conf" />
</bean> -->
<!-- 参数值路径 -->
<bean id="valuesProperties" class="org.springframework.beans.factory.config.PropertiesFactoryBean">
<property name="location" value="classpath:META-INF/conf/values.properties"/>
</bean>
<!-- 卡夫卡 -->
<!-- 消费
<bean id="kafkaConsumerProperties" class="org.springframework.beans.factory.config.PropertiesFactoryBean">
<property name="location" value="classpath:META-INF/test_conf/test_kafka-consumer.properties"/>
</bean>-->
<!-- 生产
<bean id="kafkaProducerProperties" class="org.springframework.beans.factory.config.PropertiesFactoryBean">
<property name="location" value="classpath:META-INF/test_conf/test_kafka-producer.properties"/>
</bean> -->
</beans>