Hi Senuwan, If you set a value to a property in default context (Synapse), It should be accessible throughout in and out sequence[1][2][3]. The behavior might different if you set this value inside a Clone or Iterator?
[1]https://docs.wso2.com/display/EI610/Property+Mediator [2]http://soatutorials.blogspot.com/2014/03/wso2-esb- properties-tutorial.html [3] http://blog.facilelogin.com/2011/02/wso2-esb-property- mediator-different.html Thanks and Best Regards, Saneth Dharmakeerthi *Associate Technical Lead* WSO2, Inc. Mobile: +94772325511 <+94%2077%20232%205511> <http://wso2.com/signature> On Wed, Nov 22, 2017 at 11:13 AM, Senuwan Withana <[email protected]> wrote: > Hi Guys, > > Thanks for the replies . > > I was able to take the user role from class mediator in the in sequence > But I could not able to pass that value into the out sequence. > > Thanks, > *Senuwan Withana* > Software Engineer - Support Team | WSO2 > > Email : [email protected] > Mobile: 94773212853 > Web: http://www.wso2.com > > > > On Wed, Nov 22, 2017 at 10:51 AM, Himasha Guruge <[email protected]> > wrote: > >> Hi Senuwan, >> >> What is your requirement here? Could you post your complete synapse >> configuration? >> >> Thanks, >> Himasha >> >> On Wed, Nov 22, 2017 at 10:09 AM, Senuwan Withana <[email protected]> >> wrote: >> >>> Hi Team, >>> >>> >>> I have created the below class mediator to call my JWTRoleReder, in >>> Sequence . >>> >>> <class name="org.wso2.sample.JWTRoleReader"> >>> <property name="JWT_JSON_Array" value="literal"/> >>> </class> >>> >>> >>> However I could not able to pass above details into the outSequence . >>> Kindly suggest solutions? >>> >>> Thanks. >>> *Senuwan Withana* >>> Software Engineer - Support Team | WSO2 >>> >>> Email : [email protected] >>> Mobile: 94773212853 >>> Web: http://www.wso2.com >>> >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Himasha Guruge >> Senior Software Engineer >> WS*O2* *Inc.* >> Mobile: +94 777459299 <+94%2077%20745%209299> >> [email protected] >> > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
