Using Python Scripts to Create and Delete Queues and Topics

The TEA web user interface allows you to view the TIBCO Enterprise Message Service™ artifacts. You can use Python scripting to create, delete, and purge queues and topics on an TIBCO Enterprise Message Service™ server which is registered with the TEA Agent for TIBCO Enterprise Message Service™.

Prerequisites

You must have Python configured on your system. See the TIBCO Enterprise Administrator User's Guide for details on how to do this.
The TEA Agent for TIBCO Enterprise Message Service™ comes bundled with sample Python scripts that you can use as a starting point for the task that you want to accomplish.

Procedure

  1. Open the Python scripts located in <TIBCO_HOME>\tea\agents\ems\1.0\samples.
  2. Edit the scripts as required.
  3. Save the scripts.
  4. Run a script from its location with the following command: python <scriptname>.py