code: public Destination getDestination(String destName)
              throws MessagingException {
          Destination destination = null;
          JMSDestination jmsDest = getJMSDestination(destName);
          if(jmsDest != null) {
              destination = jmsDest.destination;
          }
          return destination;
      }
docs: Gets the named Destination if it has been created.
  
  @param destName
  @return the Destination object for the specified destination
  name or null if the destination does not exist
  @throws MessagingException