I see static and dynamic queue in the same name. What is the reason?

I see static and dynamic queue in the same name. What is the reason?

book

Article ID: KB0087865

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service -
Not Applicable -

Description

Resolution:
One scenario we can think which might cause the problem is that your program was executed to use a
queue name containing spaces at the end of the name.

For instance, assume that there is a static queue called "sample".  
Now, start a consumer on the queue "sample  ".(One space at the end).
This one will show up as a dynamic queue,  and from the "show queues" they may seem to
be the same, but they are not.

Do a:
show queue sample
and you will get only information regarding the static queue queue.sample.

Do a:
show queue "sample " (One space at the end)
and you will get the info about that dynamic queue.

In some cases, it maybe more than one spaces, so you would need to do "show queue &ltqueue name>" adding 1
space at a time until you find the right one. You might use this command : "show stat producers queue=&ltqueue name>" or
"show stat consumers queue=&ltqueue name>" to find out which users are actively using this destination.

Issue/Introduction

I see static and dynamic queue in the same name. What is the reason?