Hi Sanjesh,

If I guess correctly you have two different instances of your mediator, which would explain the behavior.  You have a few options from extending the sequence mediator to using a static map for properties, thread local storage etc.

Would it be possible to share more details of what you are trying to achieve?  The synapse.xml configuration you are using for your mediator would be great and any sample code you can share.

Regards,
Hadrian

On 8/15/06, Sanjesh Pathak <[EMAIL PROTECTED]> wrote:

Hi,

 

I have created a new mediator and it is working fine. Now I want to set a property value in the request phase of the mediate method and retrieve it in response phase. What is the right approach?

 

I tried using msgContext:setProperty() in request phase and when I retrieve it using msgContext :getPorperty() I am getting a null value.

 

Sanjesh


Reply via email to