question: synchronized void handleSendMessage ( GSMessageImpl message ) throws RemoteException , TransactionException , JMSException { if ( m_acknowledgeMode != Session . SESSION_TRANSACTED ) { doSend ( message , null ) ; if ( m_space . isEmbedded ( ) ) { message . setProperties ( message . cloneProperties ( ) ) ; } } else { if ( _logger . isLoggable ( Level . FINE ) ) { _logger . fine ( "GSSessionImpl.sendMessage():" + " Adding message to sent messages list: " + message . JMSMessageID ) ; } GSMessageImpl duplicate = message . duplicate ( ) ; sentMessages . add ( duplicate ) ; } }
target:  Sends a JMS message. Called by the MessageProducer. If the session is transacted the message is added to the sent messages list.