Posted by
Danny Trunk on
URL: http://ofbiz.116.s1.nabble.com/How-to-get-a-service-call-stack-tp4764646p4764667.html
Hi Deepak Dixit,
the use case is debugging. There's a service getting called a lot and I can't find the origin while checking all the servicedef/entitydef XMLs. And I think it's quite useful to have such a feature.
Kind regards
Danny.
> Deepak Dixit <
[hidden email]> hat am 04.02.2021 18:19 geschrieben:
>
>
> Hi Danny Trunk,
>
> Could you please share the use case why you need a service call stack?
>
> If you share the use case it may be possible you will get a better answer.
>
> Kind Regards,
> Deepak Dixit
> DIRECTOR OF PRODUCT ENGINEERING
> mobile: +91 9826754548
> email:
[hidden email]
> *www.hotwax.co <
http://www.hotwax.co/>*
>
>
> On Thu, Feb 4, 2021 at 8:40 PM 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.
> >
<pre>ZYRES digital media systems GmbH
Stuttgarter Straße 25 60329 Frankfurt am Main Phone +49 69 98 55 99 - 0
Fax +49 69 98 55 99 - 11
Firmensitz: Stuttgarter Straße 25 60329 Frankfurt am Main
Registergericht: Amtsgericht Frankfurt am Main, HRB 76374
Geschäftsführer: Sebastian Schirmer
http://www.zyres.com/</pre>