The command "show connections full" shows that they are created by applications as shown below:
tcp://localhost:7222> show connections full L Version ID FSXT S Host IP address User ClientID Sess Prod Cons TmpT TmpQ Uncomm UncommSize Uptime C 8.0.0 V9 12 ---A + m1 [::1] admin 1 1 1 0 1 0 0.0 Kb 95:16:09 J 7.0.0 V12 27 ---T + m1 [::1] anonymous 1 1 1 1 0 0 0.0 Kb 18.806
2). If there is no consumer on the temporary destination, it means that the application has closed the consumer but is still connected to the EMS server.
Prior to EMS 8.2, there was no way to obtain the connection ID by using the Admin API. The API will be implemented in a future release of EMS. In EMS 8.2, connectionID() in com.tibco.tibjms.admin.DestinationInfo class can be used to obtain connection ID.
3). If there is no connection ID on the temporary destination, the following will be shown.
This temporary destination is created by a producer that sends the reply in a request-reply scenario across a route. EMS will remove such temporary destinations every 3 minutes.
Resolution
Prior to EMS 8.2, the following EMS Admin API can be used to obtain the connection ID:
TibjmsAdmin admin = new TibjmsAdmin(serverUrl,username,password);
// QueueInfo qi= new QueueInfo("$TMP$.EMS-SERVER.2F4C54382DA5F.1"); // ConsumerInfo[] ci= admin.getConsumers(null,null,queue,false,0);
TopicInfo ti = new TopicInfo("$TMP$.EMS-SERVER.2F4C54382DA51E.1"); ConsumerInfo[] ci = admin.getConsumers(null,null,topic,false,0);
for (int j=0; j<ci.length; j++) { System.out.println(ci[j].getConnectionID()); }
For EMS 8.2:
QueueInfo qi = admin.getQueue("$TMP$.EMS-SERVER.3BF2054BD95C93.1"); long id = qi.connectionID();
Issue/Introduction
Obtaining a connection ID associated with a temporary queue or topic.