Connector
This topic describes the Connector element.
Description
Specifies a Connector that enables communication with other caches through either RMI (Remote Method Invocation) or JMS (Java Message Service).
Child element properties
Note: Child elements must occur in the order shown.
Child elements
| Child element | Must occur at least | May occur at most | Element type |
|---|---|---|---|
| JndiContext | 0 times (optional) | 1 time | None |
Attributes
| Attribute | Description and use | Type |
|---|---|---|
| Class | The Java class that implements the Connector. Set this to one of the following values:
| string |
| Topic | For use with a JMS Connector only: the name of the topic that will be used to publish CacheEvents to. (optional) | string |
| TopicConnectionFactory | For use with a JMS Connector only: the JNDI name of the TopicConnectionFactory via which JMS topic connections can be made. (optional) | string |
| Strategy | (optional) | One of the following values:
|
| Host | For use with an RMI Connector only. The hostname of the machine running the remote Cache Channel Service. Defaults to localhost. (optional) | string |
| Port | For use with an RMI Connector only. The port number the remote cache channel service listens on. Defaults to 1099. (optional) | integer |
| InstanceIdentifier | Identifies the instance of this Connector. Use if you are running multiple Connectors simultaneously. (optional) | string |