Upgrading applications

Queue aliasing can be used to upgrade applications. For example, imagine you have the following configuration:

  • A queue Q1
  • An application that gets messages from Q1
  • An application that puts messages to Q1
You then develop a new version of the application that gets the messages. You can make the new application work with a queue called Q2. You can define a queue called Q2 and use it to exercise the new application. When you want it to go live, you let the old version clear all traffic off the Q1 queue, and then create an alias of Q2 called Q1. The application that puts to Q1 will still work, but the messages will end up on Q2.

Parent topic: Using queue aliases