2.5.1 Create or Modify Queue - Application

 Context of Use: The application makes changes to the queuing environment to facilitate message exchange operations between other participating applications of a Message Queuing System.

 Goal: This use case is initiated by an application to create a queue or modify the properties of a queue.

 Actors

Application: See section 2.5.

System Administrators: See section 2.5.

Directory Service: See section 2.5.

 Stakeholders

Developers:  See section 2.5.

Testers: See section 2.5.

Application Users:  See section 2.5.

 Preconditions

  • The application has access to the machine on which a queue is to be created or modified.

  • The application has the necessary administrative rights to execute the operation.

 Main Success Scenario

Trigger: The direct actor triggers this use case based on the actions of the primary actor.

The steps involved in the use case for creation or modification of a private queue are:

  1. The application sends a request to the queue manager to create a private queue on that queue manager or to modify an existing private queue hosted by the queue manager.

  2. The queue manager creates or modifies the queue and sends a response back to the application.

The steps involved in public queue creation or modification are:

  1. The application sends a request to a queue manager to create a public queue on any queue manager in the directory or to modify an existing public queue hosted by any queue manager in the directory.

  2. The queue manager sends a message to the Directory Service to make the necessary changes in the directory. On receipt of this message, the Directory Service creates the public queue in the directory.

  3. The queue manager sends a notification message to the queue manager that is hosting the queue to notify it of the changes. On receipt of such a notification message, the hosting queue manager synchronizes the changes identified in the notification message.

  4. The queue manager sends a response back to the application.

 Postcondition

The queue is created or modified.

 Extensions

None.