Created
April 12, 2012 15:18
-
-
Save tristantarrant/2368120 to your computer and use it in GitHub Desktop.
datagrid config assembly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version='1.0' encoding='UTF-8'?> | |
| <!-- See src/resources/configuration/ReadMe.txt for how the configuration assembly works --> | |
| <config default-supplement="default"> | |
| <extension-module>com.jboss.datagrid</extension-module> | |
| <subsystem xmlns="urn:jboss:domain:datagrid:1.0"> | |
| <hotrod-connector socket-binding="hotrod" cache-container="@@default-cache-container@@"> | |
| <topology-state-transfer lazy-retrieval="false" lock-timeout="1000" replication-timeout="5000" /> | |
| </hotrod-connector> | |
| <memcached-connector socket-binding="memcached" cache-container="@@default-cache-container@@" /> | |
| <rest-connector virtual-server="default-host" cache-container="@@default-cache-container@@" /> | |
| </subsystem> | |
| <supplement name="default"> | |
| <replacement placeholder="@@default-cache-container@@" attributeValue="local" /> | |
| </supplement> | |
| <supplement name="ha"> | |
| <replacement placeholder="@@default-cache-container@@" attributeValue="clustered" /> | |
| </supplement> | |
| <socket-binding name="hotrod" port="11222" /> | |
| <socket-binding name="memcached" port="11211" /> | |
| </config> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <subsystem xmlns="urn:jboss:domain:datagrid:1.0"> | |
| <hotrod-connector socket-binding="hotrod" cache-container="@@default-cache-container@@"> | |
| <topology-state-transfer lazy-retrieval="false" lock-timeout="1000" replication-timeout="5000"/> | |
| </hotrod-connector> | |
| <memcached-connector socket-binding="memcached" cache-container="@@default-cache-container@@"/> | |
| <rest-connector virtual-server="default-host" cache-container="local"/> | |
| </subsystem> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment