Versions Compared

Key

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

...

Info

NOTE: The steps below show how to set up WSO2 BAM as the Thrift server to which WSO2 ESB sends data events. The same instructions steps apply to any other Thrift server as well, such as WSO2 CEP.

Installing BAM Mediator

...

  1. Download WSO2 ESB version 4.5.x

...

  1. or later from http://wso2.com/products/enterprise-service-bus. Since BAM mediator is available by default from ESB 4.6.0 onwards

...

  1. , you do not have to install it separately

...

  1. Download WSO2 ESB from http://wso2.com/products/enterprise-service-busif you use a newer ESB version.
  2. Since both ESB and BAM servers are run concurrently, you must change

    their default ports tochange

    the default port of one server to avoid any port conflicts. To change the port

    number

    of ESB

    by applying an offset. To

    , apply an offset

    , navigate to

    in <ESB_HOME>/repository/conf

    and open file,

    /carbon.xml

    , where <ESB_HOME> is the WSO2 ESB's product distribution directory. Then change the value in xpath Server/Ports/Offset from 0 to some other integer

    file. For example,

    Code Block
    languagehtml/xml
    <!-- Ports offset. This entry will set the value of the ports defined below to the define value + Offset. e.g. Offset=2 and HTTPS port=9443 will set the effective HTTPS port to 9445-->
    <Offset>2</Offset>

...

  1. Start the WSO2 ESB server

...

  1. as follows:

    • on Linux, run <ESB_HOME>\bin\wso2server.sh
    • on MS Windows, run <ESB_HOME>/bin/wso2server.bat

...

  1. After starting the server, log in to ESB's management console and select

...

  1. Configure -> Features -> Repository Management

...

  1. menu. Add a new P2 repository through either through a URL or from a file system. For more information on adding a P2 feature repository, refer to section Managing the Feature Repository.




5. Once done, navigate to "Available Features" tab and select the repository added in the previous step. Click the "Find Features" button. It will take a while to list out all the available features in the feature repository. Once listed, select "BAM Mediator Aggregate" feature. If you can't see "BAM Mediator Aggregate feature", retry with one of the following suggestions:

...