Summary
In this chapter, we learned how to use the Tuxedo /Q
queue component. We learned how to create a queue device and the queue space needed for creating the actual queues. We learned different ways of enqueueing and dequeuing messages, both with the application code and using the TPQFORWARD
server.
After this chapter, you should be able to do basic queue administration. You should also know how to use queues to create a more reliable application and decouple parts of your application. The main limitation of /Q
queues is that they are filesystem-based and special care must be taken to ensure the queue device is not lost during a system crash or major upgrade. The other limitation is that these queues are tied to Tuxedo and can't be used from non-Tuxedo applications. So keep /Q
for interacting between parts of the Tuxedo application and we will learn how to use more open queue systems in Chapter 12, Modernizing the Tuxedo Application. But the next chapter will look at using...