Re: [Dev] Question about reading synapse message context properties from within class mediator

2014-07-24 Thread Charitha Kankanamge
Thanks a lot Isuru for the explanation! On Wednesday, July 23, 2014, Isuru Udana isu...@wso2.com wrote: Hi Charitha, On Wed, Jul 23, 2014 at 11:33 PM, Charitha Kankanamge chari...@wso2.com javascript:_e(%7B%7D,'cvml','chari...@wso2.com'); wrote: Hi, Can someone please explain the

[Dev] Question about reading synapse message context properties from within class mediator

2014-07-23 Thread Charitha Kankanamge
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

Re: [Dev] Question about reading synapse message context properties from within class mediator

2014-07-23 Thread Isuru Udana
Hi Charitha, On Wed, Jul 23, 2014 at 11:33 PM, Charitha Kankanamge chari...@wso2.com wrote: 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