Running the Project

You can run a process in a sample project by completing the following steps.

Prerequisites

  • Ensure that you have imported the sample project to TIBCO Business Studio, as described in Importing Sample Projects.
  • You have to create the following queues to use the samples:
    • BWMQ.APP
    • BWMQ.DEST.DYNAMIC
    • BWMQ.SEGMENTED
    • BWMQ.LOGICAL
    • BWMQ.REPLY
    • BWMQ.REPORT
  • You also have to create the basic model queue.
    • BWMQ.MODEL - a model for a temporary dynamic queue.

Procedure

  1. In the Project Explorer view, expand the Resource folder and then expand the testmq shared resource.
  2. Double-click localhost.mqcon to edit the WebSphere MQ connection and then click Test Connection to validate your connection.
  3. In the Project Explorer view, expand the Module Descriptors resource and then double-click Components.
  4. By default, all the processes are listed in the Components editor. In the Components editor, select the process that you do not want to run and click .
  5. On the toolbar, click the icon to save your changes.
  6. From the menu, click Run > Run Configurations to run the selected process.
  7. In the Run Configurations dialog, expand BusinessWorks Application and click BWApplication.
  8. In the right panel, click the Applications tab, select the check box next to Examples.application.
  9. Click Run to run the process.
  10. Click the icon to stop the debug session.