code: public void send(Destination dest, Message msg) throws MessagingException {
          try {
              Session s =
                      connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
              MessageProducer p = s.createProducer(dest);
              p.send(msg);
              s.close();
          } catch (JMSException e) {
              throw new MessagingException(e.getMessage(), e);
          }
  
          if(logger.isDebugEnabled()) {
              logger.debug("send() - message sent to destination " + dest);
          }
      }
docs: Allows the caller to send a Message object to a destination