Okay, thanks, I'll try that. Along similar lines, is there a way for me to
bring up an Ignite client, say programmatically, give it a name, and then
send just the grid name through the JCache API?
Not trying to make Ignite behave just like Hazelcast, but just to make my
thoughts clear with an example, there I can do this:
Properties properties = new Properties();
properties.setProperty("hazelcast.instance.name", "my-instance-name");
Caching.getCachingProvider().getCacheManager(someUri, someClassLoader,
properties);
And it will pick up a client I've already configured elsewhere in the
runtime by the name of "my-instance-name".
Is there a way to identify an already configured client through the JCache
API?
Thanks, again.
On Tue, Sep 27, 2016 at 4:40 PM, vkulichenko <[email protected]>
wrote:
> Hi Josh,
>
> Ignite uses Spring for configuration, so you can utilize Spring property
> placeholder.You can find a nice example here:
> https://www.mkyong.com/spring/spring-propertyplaceholderconfigurer-
> example/
>
> You can also use one of the shared IP finders provided by Ignite. Shared
> here means that each node that joins the topology will leave its
> coordinates
> in some shared storage, so that other nodes always know where to connect.
> With this approach you will not have to explicitly specify addresses at
> all.
> Here is the list of all available IP finders (only static IP based is not
> shared): https://apacheignite.readme.io/docs/cluster-config
>
> -Val
>
>
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/Getting-a-cluster-configured-JCache-
> CacheManager-instance-tp7970p7978.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>
--
*JOSH CUMMINGS*
Principal Engineer
[image: Workfront] <https://www.workfront.com/>
*O* 801.477.1234 | *M* 8015562751
[email protected] | www.workfront.com
Address <https://www.workfront.com/contact-us/> | Twitter
<http://twitter.com/Workfront_Inc> | LinkedIn
<http://www.linkedin.com/company/48453> | Facebook
<http://www.facebook.com/workfront>
[image: Workfront] <https://www.workfront.com/email-promo>