简体   繁体   中英

Integration architecture

I'm developing server-side for mobile movie booking application. Server application should have common API to 2 existing booking systems in cinemas. In the future addition of new booking systems is possible. I don't like writing spaghetti-code, so application must be component (module) oriented. I'm looking at SOA and Mule ESB, but I have no experience with it. Whether correctly I have chosen a way? May be there are more than one (not ESB/not Mule) good solutions for my task.

PS: Common API must be HTTP/REST. API of booking systems are binary custom tcp protocol and SOAP service.

Thank you.

You may be able to use Mule ESB with content based routing. That is based on the content of the booking your ESB knows which booking service to send it to. Then adding new booking services can be done by adding new routing rules.

See: http://blogs.mulesoft.org/integration-patterns-content-based-routing/

SOA is fine, but an ESB seems overkill for something like this. For integrating with various booking services a simple gateway should suffice.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM