Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Enter the name of your new broker, in this example, testborker.
  2. By default, do not edit or delete the placeholders in the configuration file. Here is an example:
    No Format
    ${activemq.brokerName}
    Geronimo will replace them with real values in the runtime.
  3. In most cases, you only have to add a new connector for the new borker. Replace the * with an available port number in your machine. Be sure to keep the placeholder style, or some advance features such as Cluster may not work due to port conflict.

    After replacing * with the port number, it should be somewhat like:
    No Format
    <transportConnector name="openwire" uri="tcp://localhost:${60000 + ${PortOffset}}"/>
    
  4. Click Save, you will be brought back to the JMS Server Manager porlet, and prompted that a new broker is created successfully. The JMS Network Listeners portlet will show the connectors in the new JMS broker.

After creating the JMS broker, some files and folders are created:

  • The folder var/activemq/data/brokerName will be created to hold the data
  • A file named brokerName.xml will be created in the folder var/activemq/conf to hold your broker configuration file.

Details on how to configure connection factories, queues, topics and destinations are covered in the section Configuring JMS.