ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ilya Kasnacheev <ilya.kasnach...@gmail.com>
Subject Re: Use property/YAML files in services
Date Mon, 24 Dec 2018 14:33:28 GMT
Hello!

It is quite possible to configure services in the same Spring XML file as
the Ignite configuration.

Consider:

<property name="serviceConfiguration">
    <list>
        <bean class="org.apache.ignite.services.ServiceConfiguration">
            <property name="name" value="updater-service"/>
            <property name="totalCount" value="1"/>
            <property name="service">
                <bean class="com.pany.UpdaterService"/> <!-- You can
configure this service bean via property tags, use placeholders, etc
-->
            </property>
        </bean>
        ...
    </list>
</property>

-- 
Ilya Kasnacheev


пн, 24 дек. 2018 г. в 15:50, ashishb008 <ashish.bhosle008@gmail.com>:

> As of now, what is the best way to use configuration files in Ignite
> services
> (Node singleton)? Consider a cluster of 3 nodes
> and each will have its own config file, where to put config files?
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Mime
View raw message