wso2wso2-bamwso2-esb

WSO2 BAM - Sending KPI data from WSO2 ESB to BAM


I am trying to send KPI data of WSO2 ESB to WSO2 BAM for Analysing that KPI's

Consider in WSo2 ESB handles below message,

<Transport type='KPN'>
  <Tickets>3"<"/Tickets>
</Transport>

As KPI I need to sent the data's

/Transport@type
/Transport/Tickets 

to WSO2 BAM.

  1. I am seeking examples of sending KPIs of WSO2 ESB to WSO2 BAM
  2. Also if install Mediation Data Agent in WSO2 ESB and do the configuration as mentioned in http://docs.wso2.org/wiki/display/BAM201/Setting+up+Mediation+Data+Agent

Will I be able to sent the KPI Data from WSO2 ESB to WSO2 BAM?


Solution

  • You can use BAM Mediator Publisher to publish custom data from ESB. See http://docs.wso2.org/wiki/display/BAM201/Setting+up+BAM+Mediator on how to setup BAM mediator. There you can define properties to be published to BAM within a stream. These properties can be collected from doing XPath on the message.