Using Python Scripts to Create and Delete Queues and Topics

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

Before you beginYou must have Python configured on your system. For details on configuring Python on your system, see the TIBCO Enterprise Administrator User Guide.

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.3\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