Versions Compared

Key

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

...

Once successfully deployed this sample will forward notification generated on WSO2 Governance Registry to the WSO2 Business Activity Monitor. We will be reusing the code of the Handler Sample in this example. This sample requires Apache Maven and WSO2 Business Activity Monitor. See Installing Apache Maven for Governance Registry on Windows or Installing Apache Maven for Governance Registry on Linux. Also see Installing Business Activity Monitor on Windows from Binary Distribution or Installing Business Activity Monitor on Linux and Solaris from Binary Distribution.

Instructions

1. Open to BAM_HOME/repository/conf/carbon.xml and set the port offset to 1.

...

2. Start the WSO2 Business Activity Monitor. See Installing Business Activity Monitor on Windows from Binary Distribution or Installing Business Activity Monitor on Linux and Solaris from Binary Distribution.

3. Deploy the KPI_Registry_Activity.tbox BAM Toolbox to WSO2 Business Activity Monitor.

...

Info
titleTip

If the BAM Toolbox fails to install from the URL download the KPI_Registry_Activity.tbox Toolbox to your local file system and upload it.

Image Modified

4. Navigate to GREG_HOME/samples/handler/src to find the source code of the Handler Sample.

...

11. Start the server and observe the command prompt. See Starting Governance Registry Management Console on Windows or Starting Governance Registry Management Console on Linux.

Image Modified

You should also observe a log similar to the following explaining that your Message Receiver was successfully deployed.

...

14. Navigate to the Gadget Portal of WSO2 Business Activity Monitor to see the statistics corresponding to your operations.

Image Modified

A Message Receiver must implement the org.apache.axis2.engine.MessageReceiver interface. Read more about Message Receivers to get a better understanding of their uses.

...