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 steps apply to any other Thrift server as wellserver with a listening Thrift port, such as WSO2 CEP.

Installing BAM Mediator

  1. Download WSO2 ESB version 4.5.x or later from http://wso2.com/products/enterprise-service-bus. Since BAM mediator is available by default from ESB 4.6.0 onwards, you do not have to install it separately if you use a newer ESB version.
  2. Since both ESB and BAM servers are run concurrently, you must change the default port of one server to avoid any port conflicts. To change the port of ESB, apply an offset in <ESB_HOME>/repository/conf/carbon.xml 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>
  3. Start the WSO2 ESB server as follows:

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

  4. After starting the server, log in to the ESB's management console and select Configure -> Features -> Repository Management menu.
  5. Add a new P2 repository through using either through a URL or from a file system. For more information on adding a P2 feature repository, refer to section see Managing the Feature Repository.
    Image Modified

...

  1. Once done, navigate to

...

  1. Available Features

...

  1. tab and select the repository added in the previous step.
  2. Click

...

  1. Find Features

...

  1. button. It

...

  1. can take a while to list out all the available features in the feature repository. Once listed, select

...

  1. BAM Mediator Aggregate

...

  1. feature. If you can't see

...

  1. this feature

...

  1. , retry with one of the following suggestions:

    • Deselect the

...

    • Group features by category

...

    • check box and then click

...

    • Find Features

...

    • button again.
    • Try adding a more recent P2 repository. It is possible the one you have is deprecated.
    • Check for the feature in the

...

    • Installed Features

...

    • tab.
    Image Modified

...

  1. Once the feature is selected, click

...

  1. Install

...

  1. and proceed with the installation. For more information on feature installation,

...

  1. see Installing and Managing Features.

...

  1. Once the installation is completed, restart the WSO2 ESB

...

  1. .

...

Using BAM Mediator

There are few configurations that need to be done before using a BAM Mediator in a mediation sequence. When editing a mediation sequence, the user can only use the existing BAM Mediator configurations. These steps are explicitly described for a sample in the following sections.

...