You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by KLEARCHOU Klearchos <Kl...@intrasoft-intl.com> on 2017/11/10 11:51:35 UTC

Spring Data and XML configuration

Hi,

I have seen the SpringDataExample from the ignite/example github repo.
We configure the caches through the SpringAppCfg.
I want to use Spring Data but initialise the caches through the XML file.
Do you have a sample for this?

Thank you in advance
Think before you print. This e-mail, and any files and attachments transmitted with it, is confidential. It is intended for the sole use of the named recipients(s) only. If you have received this message in error, please immediately notify us by replying to this message and then permanently delete it. Any views and opinions expressed are those of the individual author/sender and are not necessarily shared or endorsed by INTRASOFT International SA or any associated or related company. This e-mail transmission is not binding for the purposes of forming a contract and does not form a contractual obligation of any type.

Re: Spring Data and XML configuration

Posted by Alexey Kukushkin <ku...@gmail.com>.
Hi, just replace code-based configuration inside
SpringAppCfg#igniteInstance() with single line XML file-based
initialisation:

@Bean
public Ignite igniteInstance() {
    return Ignition.start("ignite-config.xml");

}