Hi Malaka, How about using an Observer, which will then be notified when the tenant needs to be loaded.
Thanks & Regards, On Tue, Feb 17, 2015 at 10:00 PM, Malaka Silva <[email protected]> wrote: > Hi, > > In polling inbound with coordination="true" tenant is loaded when the > ntask is executed. (at adapter level) > > However when coordination="false" we will not be using ntask. It'll run as > a background thread. > > So we need some way to load the tenant in this case. > > One way is to have a dummy task and schedule it with different > dispatchers. Same is done for MSMP with coordination. This task is just to > load tenants. > @Ravindra & Priyadarshini Can you give some info onthis how this was done? > > Any other way to address this issue? > > Best Regards, > > Malaka Silva > Senior Tech Lead > M: +94 777 219 791 > Tel : 94 11 214 5345 > Fax :94 11 2145300 > Skype : malaka.sampath.silva > LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 > Blog : http://mrmalakasilva.blogspot.com/ > > WSO2, Inc. > lean . enterprise . middleware > http://www.wso2.com/ > http://www.wso2.com/about/team/malaka-silva/ > <http://wso2.com/about/team/malaka-silva/> > > Save a tree -Conserve nature & Save the world for your future. Print this > email only if it is absolutely necessary. > -- Ravindra Ranwala Software Engineer WSO2, Inc: http://wso2.com <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg> Mobile: +94714198770
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
