axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal Jayasinghe <dee...@opensource.lk>
Subject Re: [axis2] Pinging capability to services deployed in Axis2
Date Fri, 16 Feb 2007 09:00:31 GMT


Thilina Gunarathne wrote:

>> Sure there is .. MC.getCurrentMC()-> OperationContext -> AxisOperation.
>
> AFAIK We can use this only after the MessageReciver level, since
> message receiver is the one which set's message context to the
> Thread..

But how abt the changing the ping method signature as follows ;

public void ping(MessageContext msgCts){
          ThreadContextDescriptor tc = setThreadContext(msgContext);
        try {
           // do the ping logic here
          
        } finally {
            restoreThreadContext(tc);
        }
}




---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message