code: private boolean isQueue(DestinationType type)
      {
          boolean isQueue = false;
          if (type == DestinationType.QUEUE ||
              type == DestinationType.PORT)
              //  type == DestinationType.SERVICE)
              isQueue = true;
  
          return isQueue;
      }
docs: Checks if this destination is a queue/service or port
  
  @param type