Documentation Center

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 elementMust occur at leastMay occur at mostElement type
JndiContext0 times (optional)1 timeNone

Attributes

AttributeDescription and useType
Class

The Java class that implements the Connector. Set this to one of the following values:

  • To use RMI, set to com.tridion.cache.RMICacheChannelConnector. This Connector requires a Cache Channel Service.
  • To use JMS, set to com.tridion.cache.JMSCacheChannelConnector. Only use this value if you are familiar with JMS, and if you have a standalone JMS client, or a JMS client inside a J2EE container of a Web application, enabled. If you run Content Delivery with the same Web application server, no further configuration is needed; if you run (parts of) Content Delivery as Windows services, you need to add the location of the JMS-related JAR files in the classpath.
(required)
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:

AsyncJMS10
JMS 1.0-compliant asynchronous messaging
AsyncJMS11
JMS 1.1-compliant asynchronous messaging. The attribute defaults to this value if left empty.
AsyncJMS10MDB
JMS 1.0-compliant Message Driven Bean messaging. This strategy sends messages but does not receive them. Use it in Content Deployer but not on your Presentation Server.
AsyncJMS11MDB
JMS 1.1-compliant Message Driven Bean messaging This strategy sends messages but does not receive them. Use it in Content Deployer but not on your Presentation Server.
SyncJMS11
JMS 1.1-compliant synchronous messaging
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