TIBCO EMS Tutorial: How to Create Dynamic and Static Queues

By | July 24, 2014

In TIBCO EMS based implementation, there are two types of queues that can be used. Static queues which are created either by using EMS administration tool or by editing queues configuration file (queues.conf) and dynamic queues which are created at run-time (on the fly) by the application.

In this tutorial, I will briefly talk about the two types of EMS queues and about usage of dynamic queues.

How to create static destination queues in TIBCO EMS:

First, let’s talk about static EMS queues. Static queues can be created using create queue command in TIBCO EMS administration tool. To create the queues in windows environment, go to Start–>TIBCO–>TIBCO EMS <version>–>Start EMS Administration Tool

Administration tool will open like below:

start ems administration tool

 

Make sure that your EMS Server is started. In order to connect to the EMS Server, use connect command in the administration tool and then give your ems username and password as shown in below screenshot:

ems server connect

 

Once you are connected to EMS Server, you can create a new queue (say queue.ajmal) using following command:

create queue queue.ajmal

tibco ems create queue example

 

Now if you use show queue command, you can see that our queue is created and available as shown in the below screenshot:

ems show queue command example

 

 

Creating Static EMS queues by editing queues.conf configuration file:

Using above method, you created EMS queues through administration tool. You can also create queues by editing queues.conf file (file is in tibco/ems/<version>/ folder of your tibco installation).

Just open the file and add the name of the queue that you wish to create. Queue will be added to available pool of queues and you can use that.

 

How to create dynamic queues in TIBCO EMS?

As explained earlier, dynamic queues are created on the fly and these are non-persistent queues. Dynamic queues can be created once you have a queue with the name “>” available in your queues configuration file. If you are facing issue like “Not allowed to create destination queue“, then make sure that you have angle bracket (>) available in your queues configuration file. Otherwise add the same either by directly adding it to the queues.conf file or by below command in EMS administration tool:

create queue >

Once you have above configuration available, you can create a dynamic destination queue by giving your queue name in the destination queue input element of JMS Queue Sender activity in any TIBCO BW process.

 

Ajmal Abbasi

Ajmal Hussain Abbasi is a TIBCO Consultant By Profession with more than 6 years experience in TIBCO products. He has extensive practical knowledge of TIBCO Business Works, TIBCO Spotfire, TIBCO BE, EMS and TIBCO ActiveSpaces. He has worked on a number of highly critical integration projects in Telecom sector by using his skills in Tibco Designer, Adapters, TIBCO EMS, RV, Administrator, TIBCO BE, TIBCO ActiveSpaces etc. Ajmal Abbasi is also experienced in developing solutions using Oracle PL/Sql, Linux and Java. You can contact Ajmal Abbasi for Consultancy, Technical Assistance and Technical Discussions.

More Posts - Website - Facebook - LinkedIn

2 thoughts on “TIBCO EMS Tutorial: How to Create Dynamic and Static Queues

  1. Diederick

    Hi, Adding a queue named ‘>’ indeed allowed the EMS to create dynamic queues. Thanks! But I wonder, why must this queue exist? Why exactly does this work?

    Reply
    1. darshan

      It means u can create queue of any name . ‘>’ is a wildcard character

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *