This is a discussion on How can I know whether a JPD was called synchronously orasynchronously? - Weblogic ; Hi, I am in the exception path of a JPD, and would like to treat the exception = differenlty if the JPD was called asynchronously (through JMS or Message Br= oker). I indeed have a common control that will be ...
Hi,
I am in the exception path of a JPD, and would like to treat the exception =
differenlty if the JPD was called asynchronously (through JMS or Message Br=
oker).
I indeed have a common control that will be called in each exception path. =
So it needs to behave differently, depending on the way the JPD was called.
If the was called through SOAP, I can know it by using jpdContext.getProtoc=
ol().
But, when called through a Message Broker, it gives me "java-call", just li=
ke if the JPD was called by another JPD through a ProcessControl.
How can I know that my JPD was called by a subscription to a channel?
In debug mode, I found that the info was in the JpdContext, but I can't man=
age to reach it :
jpdContext._dispClass._dispFileRef._hardReference._subscriptions
would give me what I want