Hi,

Can someone please explain the following behavior?

Inside the *mediate* method in a class mediator, the following returns NULL.

context.getProperty("SERVER_IP")

However, the following returns correct property value.

context.getEntry("SERVER_IP")

But context.getEntry("SYSTEM_DATE") still returns null.

Another observation. When I set a property inside mediation flow
(e.g:- <property name="myprop" value="TESTVALUE" scope="default"
type="STRING"/>), then I can read it straightaway using inside class
mediator.

context.getProperty("myprop")

Why the difference? What am I missing?

Thanks!
Charitha
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to