Skip Headers

Oracle TopLink Developer's Guide 10g Release 3 (10.1.3) B13593-01 |
| Home | Solution Area | Contents | Index

Previous | Next |

# Configuring a Topic Name

A JMS topic identifies a publish/subscribe destination for a JMS server. JMS users who wish to share messages subscribe to the same JMS topic.

The topic name you configure is the name that TopLink uses to look up the `javax.jms.Topic` instance from the JNDI service. You must provide a fully qualified JNDI name, such as `jms/<``topic_name``>`.

All the members of the same JMS coordinated cache must use the same JMS topic.

## Using TopLink Workbench

To specify the topic name for JMS cache coordination, use this procedure:

1. Select a server session in the Navigator. Its properties appear in the Editor.

2. Click the Cache Coordination tab. The Cache Coordination tab appears.

3. Ensure Enable Cache Coordination is selected and the Type is JMS (see "Understanding Cache Coordination" for more information).

   Figure 92-1 Cache Coordination Tab, Topic Name Field, JMS

   Description of "Figure 92-1 Cache Coordination Tab, Topic Name Field, JMS"

4. Enter the topic name to use with the JMS coordinated cache for this session. This must be a fully qualified JNDI name, such as `jms/``<topic_name>`.