code: protected void addTemporaryDestination(JmsTemporaryDestinationInternal tempDest) {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(this, tc, "addTemporaryDestination", System.identityHashCode(tempDest));
  
          synchronized (temporaryDestinations) { // synchronize against removeTemporaryDestination
              temporaryDestinations.add(tempDest);
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(this, tc, "addTemporaryDestination");
      }
docs: Add a TemporaryDestination to the list of temporary destinations
  created by sessions under this connection
  
  @param tempDest - the temporary destination