JMS server administration

Apache Geronimo integrates Apache ActiveMQ as a JMS provider. In this section, we will see how to administer the ActiveMQ server embedded in Geronimo.

JMS listeners

The JMS Server portlet in the Server portlet group enables you to manage the existing JMS Network Listeners and create new network listeners for ActiveMQ. The portlet screen is shown below:

The JMS Network Listeners section lists the existing network listeners. By default, Geronimo provides listeners for the stomp and tcp protocols. You can stop, start, edit, or delete existing listeners by clicking on the corresponding links provided in the Actions column against a connector name. Note that any changes made to a listener that is running will not take effect until that listener is stopped and restarted. You can create new network listeners for ActiveMQ by clicking on the links provided under Add connector to ActiveMQ. You can create listeners for tcp, stomp, vm, udp, and multicast protocols. For example, to create a new listener for the tcp protocol, click on the Add new tcp listener link. This will display a screen similar to the one shown below:

Enter a Unique Name for the listener, the Host, and Port to bind the listener to, and then click on Save. This will add a new JMS network listener with the tcp protocol for ActiveMQ.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset