All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scommons.core.1.0.0.source-code.defaultEsClientBuilderContext.xml Maven / Gradle / Ivy

The newest version!
<?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"
       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">

    <context:component-scan base-package="org.biacode.escommons.core.*"/>

    <bean id="esClientBuilder" class="org.biacode.escommons.core.client.impl.EsClientBuilderImpl">
        <property name="plugins">
            <set>
                <value>org.elasticsearch.transport.Netty4Plugin</value>
            </set>
        </property>
    </bean>

    <bean class="org.springframework.context.support.PropertySourcesPlaceholderConfigurer">
        <property name="locations">
            <list>
                <value>classpath:escommons.properties</value>
                <value>classpath:escommons-custom.properties</value>
                <value>file:${user.home}/escommons.properties</value>
                <value>file:${user.home}/escommons-custom.properties</value>
                <value>file:${user.home}/coolmonkey/escommons.properties</value>
                <value>file:${user.home}/coolmonkey/escommons-custom.properties</value>
                <value>file:${user.home}/coolmonkey/coolmonkey-commons.properties</value>
                <value>classpath:escommons-test.properties</value>
            </list>
        </property>
        <property name="ignoreResourceNotFound" value="true"/>
        <property name="ignoreUnresolvablePlaceholders" value="true"/>
    </bean>

</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy