|
| Home > Apache Geronimo v3.0 > Documentation > Configuring and administering > Configuring and administering the Apache Geronimo Server > Configuring the JMS server |
To configure the JMS Server, select JMS Server on the Console Navigation menu on the left side. You will get a list of JMS brokers available in the server and their status in the JMS Server Manager portlet. You will also be presented with the JMS Network Listeners portlet that displays all JMS network connectors. The following figures illustrate these two portlets and options.
To add a new JMS broker, click on the link Add JMS Broker. In the resulting page, you will be provided with a template for the ActiveMQ broker. The following figure illustrates the template:
It contains some customized configurations by Geronimo. It is strongly recommended that you add your own configurations based on the template file, instead of copying it from elsewhere. See the following example for configuration steps:
${activemq.brokerName}
<!--
The transport connectors expose ActiveMQ over a given protocol to
clients and other brokers. For more information, see:
http://activemq.apache.org/configuring-transports.html
-->
<transportConnectors>
<!--
<transportConnector name="openwire" uri="tcp://localhost:${* + ${PortOffset}}" />
<transportConnector name="openwire2" uri="tcp://localhost:${* + ${PortOffset}}" discoveryUri="multicast://default"/>
<transportConnector name="ssl" uri="ssl://localhost:${* + ${PortOffset}}"/>
<transportConnector name="stomp" uri="stomp://localhost:${* + ${PortOffset}}"/>
-->
</transportConnectors>
After you add the connector, the section should be something like the following example:
<transportConnector name="openwire" uri="tcp://localhost:${60000 + ${PortOffset}}"/>
Some files and folders are created after the creation of a new broker:
where brokerName is the name that you specified for the new broker.
Openwire is the default transport for ActiveMQ. In Geronimo, you can connect to the broker by using SSL transport to clients. Use the following steps to enable a SSL transport:
<transportConnector name="ssl" uri="ssl://localhost:${* + ${PortOffset}}"/>
<sslContext> <sslContext keyStore="file:${activemq.data}/test.ks" keyStorePassword="secret" trustStore="file:${activemq.data}/test.ks" trustStorePassword="secret"/> </sslContext>
Details about how to configure connection factories, queues, topics and destinations are covered in the Configuring JMS resources section.
|
|
Privacy Policy - Copyright © 2003-2013, The Apache Software Foundation, Licensed under ASL 2.0. |