TIBCO EMS Tutorial: How to Create Dynamic and Static Queues

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 Integration Consultant By Profession with 13+ years experience in Integration domain mainly with TIBCO products. He has extensive practical knowledge of TIBCO Business Works, TIBCO Cloud, TIBCO Flogo, TIBCO Mashery, TIBCO Spotfire, EMS and TIBCO ActiveSpaces. He has worked on a number of highly critical integration projects in various sectors by using his skills in TIBCO Flogo, TIBCO API Management (Mashery), TCI, Tibco Designer, TIBCO Business Studio, Adapters, TIBCO EMS, RV, Administrator, TIBCO BE, TIBCO ActiveSpaces etc. Ajmal Abbasi has experience with MuleSoft ESB as well. Ajmal Abbasi is also experienced in the area of API Management particularly with WSO2 API management platforms. Ajmal Abbasi is also experienced in developing solutions using Core Java and J2EE Technologies. You can contact Ajmal Abbasi for Consultancy, Technical Assistance and Technical Discussions.

More Posts - Website - Facebook - LinkedIn - YouTube

11 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
    1. darshan

      temporary queues are created automatically by EMS and you cannot enable/disable temporary queue creation.
      It start $TMP.xyz …those queues are created as well as destriyed automatically by the ems server.
      Eg Try using JMS queue Requestor Activity and do not specify Reply to Queue and check EMS admin

      Reply
  2. Pradeepa Chimirala

    How can we do a show queue on a dynamic queue. Also is there a way to find out who is publishing on a dynamic queue.

    Reply
  3. Adolfo Isaac Mejia Perez

    how can i define or configure a static queue with non-persistent delivery mode only with the ems config files?

    Reply
    1. Meryem

      hi Mister ABBASI,
      i’ve pursuit this steps to create a queue , but it didn’t give me the authorization , how can configure it ,i try to do so by using the file of configuration but with no result (i use redhat 7 and EMS 8.4)

      Reply
  4. Anibal

    Hi Ajmal.

    In “Creating Static EMS queues by editing queues.conf configuration file”, need restart server or its assume automatically?

    Reply
    1. Ajmal Abbasi Post author

      Dear Anibal,
      Queues added using EMS Administration tool can be committed and used without EMS restart but if you add any queues by editing the files directly, they won’t be available without EMS Server restart.

      Reply
  5. priya ghuse

    hi Ajmal,

    Could you help me with my query below?

    How does active ems server sends message in every 3 sec to standby ems service ?

    Reply

Leave a Reply

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