This content has been marked as final.
Show 3 replies
-
1. Re: How to configure cache node to be exposed as Hot-Rod server
wdfink Oct 31, 2014 11:41 AM (in response to yanduc)1 of 1 people found this helpfulYou need to start a HotRodServer like this
ConfigurationBuilder embeddedBuilder = new ConfigurationBuilder();
DefaultCacheManager defaultCacheManager = new DefaultCacheManager(embeddedBuilder.build());
HotRodServerConfiguration build = new HotRodServerConfigurationBuilder().host(host).port(port).name("XX").build();
HotRodServer server = new HotRodServer();
server.start(build, defaultCacheManager);
... do soemthing
server.stop();
defaultCacheManager.stop();
-
2. Re: How to configure cache node to be exposed as Hot-Rod server
yanduc Oct 31, 2014 12:29 PM (in response to wdfink)Thanks!
That works.
-
3. Re: How to configure cache node to be exposed as Hot-Rod server
nadirx Nov 5, 2014 1:19 AM (in response to yanduc)You might also want to look at tristantarrant/infinispan-playground-embedded-hotrod · GitHub which shows how to enable compatibility mode.