code: private void checkTemporary(DestinationHandler destination, boolean mqinterop)
  
                      throws SITemporaryDestinationNotFoundException
      {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(tc, "checkTemporary", new Object[] { destination, Boolean.valueOf(mqinterop) });
  
          // If a Temporary Destination, ensure it is on this connection unless mqinterop
          if (destination.isTemporary()
              && !mqinterop
              && (_temporaryDestinations.indexOf(destination.getName()) == -1))
          {
              SIMPTemporaryDestinationNotFoundException e =
                              new SIMPTemporaryDestinationNotFoundException(
                                              nls.getFormattedMessage(
                                                                      "TEMPORARY_DESTINATION_CONNECTION_ERROR_CWSIP0099",
                                                                      new Object[] { destination.getName() },
                                                                      null));
  
              if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              {
                  SibTr.exception(tc, e);
                  SibTr.exit(tc, "checkTemporary", e);
              }
              throw e;
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(tc, "checkTemporary");
      }
docs: Checks to see if the destination is temporary and the connection
  used to create the temp destination is the same as the one trying to
  access it.
  
  Checking skipped if this is a mqinterop request
  
  @param destination
  @param mqinterop
  @throws SITemporaryDestinationNotFoundException If the temp destination wasn't
  created using the current connection.