axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From keith chapman <keithgchap...@gmail.com>
Subject Re: Can anyone point me a simple way to share data between handlers in different flows?
Date Thu, 12 Feb 2009 02:18:48 GMT
This is what the Axis2 Context hierarchy is for. Store the information you
want in the operation Context, so this information is available for you for
the whole invocation. Both the inMessageContext and the outMessageContext
share the same operation context.

Thanks,
Keith.

On Thu, Feb 12, 2009 at 12:29 AM, José Ricardo da Silva <
dasilva.joser@gmail.com> wrote:

> Hi, I've searched on the list archive and found only quite old
> conversations about sharing data between handlers.
>
> I was wondering if someone could point me a very simple way to store
> data (objects) when a message arrives (InFlow) and possibly read it
> when a message is sent (OutFlow) or when an AxisFault arrives.
>
> Thanks in advance,
>
> José Ricardo.
>



-- 
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org

Mime
View raw message