<div dir="ltr">Hi Tristan!<div><br></div><div>Multi tenancy is more an endpoint thing. If you look into the Configuration part of the design [1] you might notice that I&#39;m actually routing between &quot;hotrod-connector&quot;s (which means between ProtocolServer instances). </div><div><br></div><div>So to be consistent I believe the [/cachemanager] part should be mapped to the name used in hotrod-connector. Here is an example to make is more clear:</div><div><div>&lt;hotrod-connector name=&quot;<b>hotrod1</b>&quot; cache-container=&quot;default&quot;&gt;</div><div>      ...</div><div>&lt;/hotrod-connector&gt;</div><div>&lt;hotrod-connector name=&quot;<b>hotrod2</b>&quot; cache-container=&quot;default&quot;&gt;</div></div><div>   ...</div><div>&lt;/hotrod-connector&gt;<br></div><div><br></div><div>With the above configuration we will need the following URIs:</div><div><ul><li><span style="font-size:12.8px">infinispan:hotrod://[host1][:</span><span style="font-size:12.8px">port1][,[host2][:port2]].../</span><span style="font-size:12.8px"><b>hotrod1</b></span><br></li><li><span style="font-size:12.8px">infinispan:hotrod://[host1][:</span><span style="font-size:12.8px">port1][,[host2][:port2]].../</span><span style="font-size:12.8px"><b>hotrod2</b></span></li></ul></div><div>Thanks</div><div>Sebastian</div><div><br></div><div>[1] <a href="https://github.com/infinispan/infinispan/wiki/Multi-tenancy-for-Hotrod-Server#configuration">https://github.com/infinispan/infinispan/wiki/Multi-tenancy-for-Hotrod-Server#configuration</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 30, 2016 at 9:46 AM, Tristan Tarrant <span dir="ltr">&lt;<a href="mailto:ttarrant@redhat.com" target="_blank">ttarrant@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In the past there has been talk of representing a connection to<br>
Infinispan using a URL, in particular for HotRod.<br>
The Hibernate OGM team is now working on adding NoSQL datasources to<br>
WildFly, and they&#39;ve asked for they should represent connections to<br>
various of these.<br>
<br>
For Hot Rod:<br>
<br>
infinispan:hotrod://[host1][:port1][,[host2][:port2]]...[/cachemanager]<br>
<br>
The [cachemanager] part is for multi-tenant servers (Hot Rod doesn&#39;t<br>
currently support this, so this is forward-looking).<br>
Obviously we will support all of the HotRod properties for specifying<br>
things like security, etc.<br>
<br>
For Embedded:<br>
<br>
infinispan:embedded:file://path/to/config.xml (for specifying an<br>
external config file)<br>
infinispan:embedded:jndi://path/to/jndi (for referencing a cachemanager<br>
in JNDI)<br>
infinispan:embedded: (configuration specified as properties)<br>
<br>
For the latter, we also need to be able to represent an infinispan<br>
configuration using properties with a simple mapping to XML<br>
elements/attributes, e.g.<br>
<br>
cache-manager.local-cache.mycache.eviction.size=1000<br>
<br>
<br>
Comments are welcome<br>
<span class="HOEnZb"><font color="#888888"><br>
Tristan<br>
--<br>
Tristan Tarrant<br>
Infinispan Lead<br>
JBoss, a division of Red Hat<br>
_______________________________________________<br>
infinispan-dev mailing list<br>
<a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
</font></span></blockquote></div><br></div>