Hi Hasitha,

If you use service statistics data-agent in DSS and BAM mediator in the
ESB, we can publish events along the path of the request to BAM with a same
unique ID(activity ID).  For that you need to enable the activity
monitoring in the 'Service Statistics Data agent' in DSS, and use the BAM
mediator within the ESB proxy service.

Hence once the request hits a data-agent, it will check whether the soap
header has the attribute called activityID,  if it's not set it'll set it
and fire an event to BAM, else it'll re-use the already existing activity
ID in the soap header and publish an event with that activity ID. Therefore
a events for a request will have the same activity id, and you can
correlate the messages in the BAM side.

This feature is there in the service statistics and BAM mediator, but I'm
not sure whether it's handled in API manager BAM data-agent.There is a
activity monitoring toolbox for this, you can try that out [1].

[1] http://docs.wso2.org/wiki/display/BAM230/Activity+Monitoring+Toolbox

Thanks,
Sinthuja.



On Fri, Jun 28, 2013 at 8:10 AM, Hasitha Hiranya <[email protected]> wrote:

> Hi,
>
> Is there a way to correlate access information going through several WSO2
> servers?
> The requirement is like below:
>
> 1. We are accessing a Data service in DSS via a proxy service at ESB.
> 2. That ESB proxy service is used as a BackEnd in an API in API Manager
>
> Now when an API is accessed we want to publish data to BAM individually
> from API manager, from ESB and from DSS. But we want to correlate
> individual three records at BAM side.
>
> In order to correlate we should have some 'id' unique to an access of API
> manager, and it should last unchanged through ESB, DSS.
>
> Is there some unique ID as such out of the box in WSO2 servers?
> Have we met with some requirement as such?
>
> Thanks.
>
> --
> *Hasitha Abeykoon*
> Software Engineer; WSO2, Inc.; http://wso2.com
> *cell:* *+94 719363063*
> *blog: **abeykoon.blogspot.com* <http://abeykoon.blogspot.com>* *
> *
> *
>



-- 
*Sinthuja Rajendran*
Software Engineer <http://wso2.com/>
WSO2, Inc.:http://wso2.com

Blog: http://sinthu-rajan.blogspot.com/
Mobile: +94774273955
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to