Versions Compared

Key

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

Mediation Data Agent is used to collect statistics related to mediation data from WSO2 products such as the ESB, and send to WSO2 CEP. CEP server receives data events via its Thrift API. This protocol uses a binary protocol and enables fast data transmission between ESB and CEP. You can configure the Mediation Data Agent early in order to predefine the mediation statistics of CEP. In the configuration panel, you can specify the CEP server (Thrift server) related information and the properties to be extracted from the Configuration Context of the ESB. Define the Event Stream-related parameters that are uniquely identified by a name and a version.

...

  1. Download WSO2 ESB from url: http://wso2.com/products/enterprise-service-bus.
  2. When running both ESB and CEP servers concurrently, you should change the default port number of one server in order to prevent port conflicts. Apply a port offset in file <esb_home>/repository/conf/carbon.xml, by changing the value in xpath Server/Ports/Offset from 0 to some other integer. 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 ESB server by executing the following files in <esb_home>/bin.
    • on Linux wso2server.sh
    • on MS Windows wso2server.bat
     
  4. After starting the server, go to ESB management console. Instructions are similar to those in section Running Installing the Product.
    In the management console, select the Features sub menu under the Configure menu. Then, click the Repository Management tab, and select a P2 repository either from a URL or a file. For instructions, refer to section Managing the Feature Repository. For example,

  5. Go to Available Features tab and select the repository you added in the previous step. Then, click the Find Features button. From the list of features that appears, select BAM Mediation Data Agent Aggregate feature and click Install.


     
  6. Click Next once done and accept the license agreement.  
  7. Restart the ESB.

...

Info
titleNote

Enable Activity Service feature will be implemented from the next release

Stream Definition Configuration:

    • Stream Name : Stream Name can be any string with alpha-numeric characters
    • Version : Stream Version distinguishes different streams with the same Stream Name. Default version should be 1.0.0 .
    • Nick Name : This is a user preferred nick name to the Stream Name in alpha-numeric characters
    • Description : A description describing about the particular stream defined by Stream Name, Stream Version pair. Description should also consists of alpha-numeric characters.

BAM Credentials:

    • BAM URL : Enter the IP address of the CEP server. And the port should be the thrift port ( ex: tcp://127.0.0.1:7611 ). You can add a comma-separated list of server URLs to ensure that load is distributed among many servers and to minimize effects of a failure of one server node. This load balancing feature is a new enhancement.
    • Username: Put the CEP Thrift log-in user name. Default value is admin.
    • Password: Put the CEP Thrift log-in password. Default value is admin.

...