December 2017
Intermediate to advanced
372 pages
8h 46m
English
Setting up a JMS message topic in GlassFish is very similar to setting up a message queue.
In the GlassFish web console, expand the Resources node in the tree at the left-hand side, then expand the JMS Resouces node, click the Destination node, then click the New... button in the main area of the web console:

Our examples will use a JNDI Name of jms/GlassFishBookTopic. Since this is a message topic, the Resource Type must be javax.jms.Topic. The Description field is optional. The Physical Destination Name property is required; for our example, we will use GlassFishBookTopic as the value for the Name property. ...