1
votes



I create several proxys with vfs transport. I also use class mediator in each proxy.
My question is : Is it possible in WSO2 ESB to share an object between proxy and also between class mediator?
Thanks,

1

1 Answers

1
votes

You can set the object into a property in synapse scope (or default) and use it in both the class mediator and the proxy. In the class mediator you can get the property value as messageContext.getProperty(NAME); and set it as messageContext.setProperty(NAME, VALUE);