Installing the Messaging Server: DEPRECATED

From AgileApps Support Wiki
Revision as of 02:59, 24 January 2014 by imported>Aeric (→‎Installing HornetQ)

Installing HornetQ

HornetQ is the Message Queue engine used by the Messaging Server.

To install HornetQ

  1. Download it from http://www.jboss.org/hornetq/downloads.html
    (For the release to use, see the Software Requirements.)
  2. Unpack hornetq-2.2.14 to the desired location
  3. Edit {hornetq-folder}/config/stand-alone/non-clustered/hornetq-users.xml
  4. Create a new user by adding the following code to the <configuration> section:
    <user name="[USER_NAME]" password="[PASSWORD]">
       <role name="admin"/>
    </user>
    
  5. Edit {hornetq-folder}/config/stand-alone/non-clustered/hornetq-configuration.xml
  6. Replace the <security>...</security> section with the following:
    <security-settings>
       <security-setting match="#">
          <permission type="createNonDurableQueue" roles="guest, admin"/>
          <permission type="deleteNonDurableQueue" roles="guest, admin"/>
          <permission type="createDurableQueue" roles="admin"/>
          <permission type="deleteDurableQueue" roles="admin"/>
          <permission type="consume" roles="guest, admin"/>
          <permission type="send" roles="guest, admin"/>
          <permission type="manage" roles="admin"/>
       </security-setting>
    </security-settings>
    

Notepad.png

Note:

HornetQ is started using [hornetq-folder]/bin/start.sh. It should be started before launching the platform's messaging server.
Learn more: Server Restart Sequence

Configuring the Platform's Service Provider Settings

Creating an SSL Keystore

Configuring the Messaging Server