Well , now you can get the message context inside the your method using
the following code,

MessageContext msgCtx = MessageContext.getCurrentMessageContext();

So if you want to access the message context inside the method "foo"
then do it as follows;

public void foo(){
MessageContext msgCtx = MessageContext.getCurrentMessageContext();
}

Thanks
Deepal

Stephen James wrote:
> I was looking at this article:
>  
> http://www.developer.com/open/article.php/10930_3589126_3
>  
> about how to get the message context passed in the init method.
>  
> Is it incorrect to use this in your service logic?
>  
>  
>
> *Stephen James*
> Senior S/W Engineer, Applications Business Unit
>
> *GENBAND Inc.*
> 3701 W. Plano Pkwy., Suite 200
> Plano, TX 75075 USA
> office            +1-972-521-5858
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>  
> <http://www.genband.com/>
>  
>
>  

-- 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to