Hi Lasindu,

See how this is handled in the property mediator [1].

[1]
https://github.com/wso2/wso2-synapse/blob/master/modules/core/src/main/java/org/apache/synapse/mediators/builtin/PropertyMediator.java#L196-L242

Thanks,

On Fri, Apr 14, 2017 at 12:04 AM, Lasindu Charith <[email protected]> wrote:

> Hi devs,
>
> Can we do $subject? There is no method to do above in Synapse MessageCtxt.
> Also noticed we cannot set a NULL value to a property as well.
> Except setting an empty string/predefined string, is there a way to do
> $subject from a class mediator?
>
> Thanks,
> --
> *Lasindu Charith*
> Senior Software Engineer, WSO2 Inc.
> Committer & PMC Member, Apache Stratos
> Mobile: +94714427192 <+94%2071%20442%207192> | Web: blog.lasindu.com
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Maduranga Siriwardena
Senior Software Engineer
WSO2 Inc; http://wso2.com/

Email: [email protected]
Mobile: +94718990591
Blog: *https://madurangasiriwardena.wordpress.com/
<https://madurangasiriwardena.wordpress.com/>*
<http://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to