The EAServer JMS provider allows you to create and configure JMS message topics. You need not preconfigure message topics unless their properties require nondefault values. A JMS client that uses the JMS initial context factory com.sybase.jms.client.InitialContectFactory can look up preconfigured topics by name. To look up topics that have not been preconfigured, clients can either use a JNDI name that ends with “Topic,” or use the javax.jms.Session.createTopic API. You can also use this API to look up preconfigured topics.
Each message topic subscription is managed internally by a corresponding message queue, which is called a subscription queue. The property values for each subscription queue are the same as the property values for the corresponding topic. In other words, topic properties are used as templates for the properties of the internal subscription queues. Internal subscription queues have names that begin with either “ds~” (for durable subscriptions) or “ts~” (for transient subscriptions). You may see these names when viewing statistics or browsing the jms_pm or jms_ts database tables. Sybase recommends that you do not explicitly configure properties for internal subscription queues—instead, set topic properties to indirectly configure the internal subscription queues.
To override default properties for JMS temporary topics, name the topic “javax.jms.TemporaryTopic.”
Expand the Resources folder, select JMS Message Topics, right-click, and select Add.
In the wizard, enter a name for the message topic, and select Finish.
Configuring message topic properties
Select the message topic to configure.
In the right pane, select the General tab, and enter the topic properties described in Table 2-1. The property values apply to both the message topic and the corresponding subscription queue.
Select the Security tab, and configure the properties defined in Table 2-2.
In the JMS Message Topics folder, select the topic to delete, right-click, and select Delete.
In the wizard, confirm that you want to delete the message topic.