Hi, You can add cache configuration to the xml file with the *(for example, cache-*) at the end. After this, caches with names that fit this template(cache-1 for template cache-*) will use it's cache configuration.
Evgenii вс, 16 авг. 2020 г. в 07:03, C Ravikiran <itsmeravikira...@gmail.com>: > As for the below, I have to change in xml and java code also. > > Is there there any other possibility, without changing the java code, and > changing only xml file, shall we achive cache configuration?? > > As we don't have the java code access, we have the access to the > configuration > xml file. > > Could you please help me with this? > > Regards, > Ravikiran C > > > > > On Sun, 16 Aug, 2020, 12:57 am John Smith, <java.dev....@gmail.com> wrote: > >> You can create templates in the XML and programmatically when you say >> getOrCreate() you can specify the template to use and pass in random name >> for the cache name ... >> >> >> https://apacheignite.readme.io/docs/cache-template#:~:text=Cache%20templates%20are%20useful%20when,CREATE%20TABLE%20and%20REST%20commands >> . >> >> On Sat., Aug. 15, 2020, 8:53 a.m. itsmeravikiran.c, < >> itsmeravikira...@gmail.com> wrote: >> >>> My cache ids are dynamic. >>> Is it possible to add cache configuration in xml. >>> I have checked, name property is mandatory. But i cannot add the name as >>> it's dynamic name. >>> >>> >>> >>> >>> >>> -- >>> Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >>> >>