#  This resource adapter is for accessing a remote cache where the cache is configured based on 
#  the annotations in the pojo.
#  For remote query (using Google Protobuf), see infinispan-hotrod-define-protofub-ds.xml as an example

#  Note:  The RemoteServerList host:port may have to be changed, depending on your JDG deployment.  Also, the port is based on running it locally and incrementing the ports

#  Also, didn't create a CLI script at this time, because 'slot' could not be specified in the CLI script and therefore, still required manual editing of the configuration.

                <resource-adapter id="java:/infinispanRemoteHotRod">
                    <module slot="main" id="org.jboss.teiid.resource-adapter.infinispan.hotrod"/>
                    <connection-definitions>
                        <connection-definition class-name="org.teiid.resource.adapter.infinispan.hotrod.InfinispanManagedConnectionFactory" jndi-name="java:/infinispanRemote" enabled="true" use-java-context="true" pool-name="infinispanRemote">
                            <!-- module name to load the cache classes from -->
 <config-property name="CacheTypeMap">
                                addressbook_indexed:com.client.quickstart.addressbook.pojos.domain.Person;id
                            </config-property>
                            <config-property name="Module">
                                com.client.quickstart.addressbook.pojos
                            </config-property>
                            <config-property name="RemoteServerList">
                                127.0.0.1:11322
                            </config-property>
                        </connection-definition>
                    </connection-definitions>
                </resource-adapter>
