sentilo/sentilo

View on GitHub
sentilo-agent-kafka/src/main/resources/spring/agent-kafka-properties-context.xml

Summary

Maintainability
Test Coverage
<?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:context="http://www.springframework.org/schema/context"
    xmlns:util="http://www.springframework.org/schema/util"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
  http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
  http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">

    <context:property-placeholder ignore-unresolvable="true" properties-ref="sentiloConfigProperties"/>

    <util:properties id="sentiloConfigProperties"  location="classpath*:properties/sentilo.conf,
        classpath*:properties/sentilo-agent-kafka.conf, file:${sentilo.conf.dir}/sentilo.conf,
        file:${sentilo.conf.dir}/sentilo-agent-kafka.conf" ignore-resource-not-found="true"/>                        
    
</beans>