Summary
In this chapter, we learned how to wrap external services in Tuxedo service proxies to provide a familiar Tuxedo interface. We learned to pay attention to explicitly setting timeouts and returning a correct TPFAIL
code in case of error. We also learned to use Tuxedo messages queues for fault-tolerance and asynchronous processing. And finally, we created a stateful multi-threaded server to take advantage of persistent connections. Now you should be equipped with the knowledge to access external services using any protocol supported by Python libraries, which is a lot more than C or COBOL programming languages offer.
In the next chapter, we will combine what we learned in Chapter 10, Accessing the Tuxedo Application, and this chapter to create a bi-directional gateway between Tuxedo and the NATS.io messaging system.