Re: How to get a service call stack?

Posted by James Yong-2 on
URL: http://ofbiz.116.s1.nabble.com/How-to-get-a-service-call-stack-tp4764646p4764710.html

Hi Danny,

This jira issue may be useful for you:
https://issues.apache.org/jira/browse/OFBIZ-10351

Regards,
James

On 2021/02/04 15:10:37, Danny Trunk <[hidden email]> wrote:

> 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.
>