code: private Destination resolveDestination(String destinationName) throws JMSException {
          if (log.isDebugEnabled()) {
              log.debug("Sending JMS message to destination: '" + destinationName + "'");
          }
  
          return resolveDestinationName(destinationName, session);
      }
docs: Resolve destination from given name.
  @param destinationName
  @return
  @throws JMSException