jeudi 12 septembre 2019

Extra layer for communication from client to Service via client ->Api->ESB->Service

We are architecting a new system where ESB is the centerline channel for service communication. as we don't want our HTML/js client to interact with a bus directly, so we decided to introduce Api (ReST-API) layer where the client will post request to Api than API will put a message in ESB and respective service will subscribe for that particular message and will process it.

so it will be like UI -> Rest -> ESB -> Service

As I knew no other services will not be interested in this particular message. so just wondering cant we do below??

UI->Rest-> Service and keep ESB used for only inter-service communications not from UI to service path. considering there will be 1000's of UI to service communication.

Aucun commentaire:

Enregistrer un commentaire