Version 15
    Installing HornetQ 2.1.2 Final on JBoss 5.1.0.GA
    ================================================
    * Download JBossAS 5.1.0.GA
    * Download HornetQ 2.1.2 (final)
    * Verfiy that the server start correctly.
    * Copy the attached jboss-as-hornetq-int.jar to your $JBOSS_HOME/common/lib
    * Copy the attached hornetq-deployers-jboss-beans.xml to your $JBOSS_HOME/server/default_with_hornetq/deployers
    * Now deploy JBossESB to the server:
        a) cd trunk/product/install
        b) update build.xml and add hornetq.sar to the messaging providers to detect:
            <available property="hornetq.present" file="${deploy.dir}/hornetq.sar"/>
            An already updated build.xml is attached which you can use as is.
        c) ant deploy
    * Start the server
    * Deploy the helloworld quickstart:
        a) update samples/quickstarts/conf/quickstart.properties and modify quickstarts.properties:
            org.jboss.esb.server.home=$JBOSS_HOME
            org.jboss.esb.server.config=default_with_hornetq
            Note: that you should replace '$JBOSS_HOME' with the path to you installed JBossAS 5.1.0.GA installation
        b) update samples/quickstarts/conf/base-build.xml and add hornetq.sar to the messaging providers to detect:
            <condition property="hornetq.present">
                <or>
                <available file="${org.jboss.esb.server.deploy.dir}/hornetq"/>
                <available file="${org.jboss.esb.server.deploy.dir}/hornetq.sar"/>
                </or>
            </condition>
            An already updated base-build.xml is attached which you can use as is.
        c) cd helloworld
        d) ant deploy
    * Copy hornetq client jars to $JBOSS_HOME/client
        a) cp $JBOSS_HOME/server/default_with_hornetq/lib/hornetq-jms-client.jar
        b) cp $JBOSS_HOME/server/default_with_hornetq/lib/hornetq-core-client.jar
        c) cp $JBOSS_HOME/server/default_with_hornetq/lib/netty.jar
    * Run the quickstart:
        a) ant test

    Installing HornetQ 2.1.2 Final on JBoss AS 5.1.0.GA

    This page describes the steps required to install HornetQ 2.1.2(final) on JBoss AS 5.1.0.GA. This was done by simply taking the source code of the 'hornetq-int' module from JBossAS trunk and adding that module to a checked out version of JBoss_5_1_0_GA. A diff has been attached to this page.

    Download the required projects

    • Download JBossAS 5.1.0.GA
    • Download HornetQ 2.1.2 (final)
      • Install HornetQ as described here
    • Verfiy that the server starts correctly.

     

    Add the HornetQ deployer

     

    Install JBossESB

    • Now deploy JBossESB to the server:
      • cd trunk/product/install
      • update deployment.properties to point to you JBossAS5.1.0.GA installation
      • update build.xml and add hornetq.sar to the messaging providers to detect. An already updated build.xml is attached which you can use as is.
      • ant deploy
    • Start the server

     

    Install and run the helloworld_quickstart

    • update samples/quickstarts/conf/quickstart.properties and modify quickstarts.properties:
            org.jboss.esb.server.home=$JBOSS_HOME
            org.jboss.esb.server.config=default-with-hornetq
    

            Note: that you should replace '$JBOSS_HOME' with the path to you installed JBossAS 5.1.0.GA installation

    • update samples/quickstarts/conf/base-build.xml and add hornetq.sar to the messaging providers to detect:
            <condition property="hornetq.present">
                <or>
                <available file="${org.jboss.esb.server.deploy.dir}/hornetq"/>
                <available file="${org.jboss.esb.server.deploy.dir}/hornetq.sar"/>
                </or>
            </condition>
    

            An already updated base-build.xml is attached which you can use as is.

    • cd helloworld
    • ant deploy
    • Copy hornetq client jars to $JBOSS_HOME/client
      • cp $JBOSS_HOME/server/default_with_hornetq/lib/hornetq-jms-client.jar
      • cp $JBOSS_HOME/server/default_with_hornetq/lib/hornetq-core-client.jar
      • cp $JBOSS_HOME/server/default_with_hornetq/lib/netty.jar
    • Run the quickstart:
      • ant runtest