Hi Niranjan, If understood properly your requirement, it is demonstrated in this sample [1]. Here, text value of the symbol element from the getQuote request fed as a fact to the rule engine.
[1] https://docs.wso2.com/display/ESB500/Sample+600+%3A+Simple+ Message+Transformation+-+Rule+Mediator+for+Message+Transformation Thanks, Milinda On Tue, Nov 8, 2016 at 9:42 AM, Niranjan Karunanandham <[email protected]> wrote: > Hi Dev, > > Is it possible to pass a value (obtained from request) to a Rule mediator? > In my use-case, I need to process a response I obtained in the ESB using a > Rule mediator based on a value which is obtained in the request from the > client. Currently I was able to do it by using a enrich mediator and adding > the value (request) into the response and pass it to the rule mediator. > > Regards, > Nira > > -- > > > *Niranjan Karunanandham* > Associate Technical Lead - WSO2 Inc. > WSO2 Inc.: http://www.wso2.com > > -- Milinda Perera Senior Software Engineer; WSO2 Inc. http://wso2.com , Mobile: (+94) 714 115 032
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
