Hi,
It is often required to persist content into the underlying registry impl
during message mediation (in stateful mediation scenarios). For example,
with connector we need to keep the access token/refresh token persisted.
Therefore a generic mechanism of persisting content from mediation flow
will be useful.
At the moment, we do support retrieving content from the registry with
following mediation logic.
<property name="myProperty" action="set"
expression="get-property('registry', 'conf:/Resource/bar')"
Similarly, we can implement the content persistent capability with property
mediator using its scope concept.
<property name="conf:/Resource/bar value="xx" | expression="yy"
scope="registry"/>
Please share your thoughts.
@Nadeeshan/Buddhima : Will this design fits into solving access
token/refresh token handling limitations with Connectors?
--
Kasun Indrasiri
Software Architect
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware
cell: +94 77 556 5206
Blog : http://kasunpanorama.blogspot.com/
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture