AF team,

Its needless to say that there are several possible failure points in AF,
hence in App Cloud. One such place is making the tenants subscribed to the
dev, test and prod stratos environments. Due to some reason, if this step
fails, then, thats the end of story for that tenant.

Proposal:

Hand over the subscription requests to a queue (doe not need to be JMS
queue) and let a task do the subscription taking them from the queue. If
the subscription is successful, remove it from the queue, else put it back,
which will make the task to retry.

AFAIK, this subscription step does not need to be synchronous. So, the
above change has no impact to the tenant creation flow.

WDYT?

Regards,
Amila.

-- 
*Amila Maharachchi*
Senior Technical Lead
WSO2, Inc.; http://wso2.com

Blog: http://maharachchi.blogspot.com
Mobile: +94719371446
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to