Introduction
Sometimes the standard dashboards to monitor your OSB environment aren't enough or suited to some of your business requirements...You wish you could export or access the raw data behind the reports.
Using the standard WLST and WLDF tools from Oracle you can easily get to those data.
See : http://docs.oracle.com/cd/E12529_01/wlss31/operations/wldf.html
And : http://docs.oracle.com/cd/E15051_01/wls/docs103/config_scripting/using_WLST.html
Steps
First, you need to setup your WLST environment.Execute the SetDomainEnv script from your SOA_DOMAIN/bin :
> . ./setDomainEnv.sh
Next, use the following script :
It navigates to the WLDFRuntime MBean, accesses the WLDFDataAccessRuntime and does a lookup for the logical name of your pipeline.alert instance.
Finally, open a cursor on the runtime object and extract the alerts from it.
You can now easily build your own code or add alerting mechanism based on the output of the script.
AUTHOR : Arnaud Reper