You can combine app.config and Spring XML.

app.config:
    <igniteConfiguration
xmlns="http://ignite.apache.org/schema/dotnet/IgniteConfigurationSection";
                         springConfigUrl="my-spring-config.xml">
        <jvmOptions>
            <string>-Xms512m</string>
            <string>-Xmx702m</string>
            <string>-DOPT25</string>
        </jvmOptions>
    </igniteConfiguration>

Note that it points to my-spring-config.xml, which should contain
REST-specific settings in your case.


On Tue, Apr 11, 2017 at 4:28 PM, ozgurnevres <[email protected]> wrote:

> Thanks, Pavel
>
> In fact I already understand that I have to use spring xml, but I couldn't
> find how to configure the REST API in spring xml.
>
> At app.config, I can set some options like this:
>
>     <jvmOptions>
>        <string>-Xmx5g</string>
>       <string>-XX:ParallelGCThreads=8</string>
>       <string>-XX:ConcGCThreads=8</string>
>       <string>-XX:+UseG1GC</string>-->
>       <string></string>
>     </jvmOptions>
>
> How can I do that in spring xml?
>
>
>
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/REST-API-Configuration-for-Ignite-net-
> tp11879p11885.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>

Reply via email to