How to get a service call stack?

Posted by Danny Trunk on
URL: http://ofbiz.116.s1.nabble.com/How-to-get-a-service-call-stack-tp4764646.html

Hello,

let's imagine Service A is calling Service B directly through dispatcher.runSync and Service C is running as an SECA action of Service B. The call stack would be: Service A -> Service B -> Service C (through SECA)

Or let's imagine Service D is running as an EECA action of entity Product. The call stack would be: Product Entity -> Service D (through EECA)

Is it possible to get that information somehow?
I can't find anything helpful in DispatchContext or GenericDispatcher.

Output into a log file would be great.

Kind regards
Danny.