cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ericjohn...@apache.org
Subject svn commit: r1099178 - /cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSConduit.java
Date Tue, 03 May 2011 18:32:06 GMT
Author: ericjohnson
Date: Tue May  3 18:32:06 2011
New Revision: 1099178

URL: http://svn.apache.org/viewvc?rev=1099178&view=rev
Log:
cleaned up some of the Javadoc comments

Modified:
    cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSConduit.java

Modified: cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSConduit.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSConduit.java?rev=1099178&r1=1099177&r2=1099178&view=diff
==============================================================================
--- cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSConduit.java
(original)
+++ cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSConduit.java
Tue May  3 18:32:06 2011
@@ -56,10 +56,10 @@ import org.springframework.jms.listener.
 import org.springframework.jms.support.JmsUtils;
 
 /**
- * JMSConduit is instantiated by the JMSTransportfactory which is selected by a client if
the transport
- * protocol starts with jms:// JMSConduit converts CXF Messages to JMS Messages and sends
the request by using
- * a JMS destination. If the Exchange is not oneway it then recevies the response and converts
it to a CXF
- * Message. This is then provided in the Exchange and also sent to the incomingObserver
+ * JMSConduit is instantiated by the JMSTransportFactory which is selected by a client if
the transport
+ * protocol starts with jms://. JMSConduit converts CXF Messages to JMS Messages and sends
the request by 
+ * using a JMS destination. If the Exchange is not oneway it then recevies the response and
converts it to 
+ * a CXF Message. This is then provided in the Exchange and also sent to the incomingObserver.
  */
 public class JMSConduit extends AbstractConduit implements JMSExchangeSender, MessageListener
{
 
@@ -91,8 +91,8 @@ public class JMSConduit extends Abstract
     }
     
     /**
-     * Prepare the message for send out. The message will be sent after the caller has written
the payload to
-     * the OutputStream of the message and calls the close method of the stream. In the JMS
case the
+     * Prepare the message to be sent. The message will be sent after the caller has written
the payload to
+     * the OutputStream of the message and called the stream's close method. In the JMS case
the
      * JMSOutputStream will then call back the sendExchange method of this class. {@inheritDoc}
      */
     public void prepare(Message message) throws IOException {
@@ -131,11 +131,10 @@ public class JMSConduit extends Abstract
     }
 
     /**
-     * Send the JMS Request out and if not oneWay receive the response
+     * Send the JMS message and if the MEP is not oneway receive the response.
      * 
-     * @param outMessage
-     * @param request
-     * @return inMessage
+     * @param exchange the Exchange containing the outgoing message
+     * @param request  the payload of the outgoing JMS message
      */
     public void sendExchange(final Exchange exchange, final Object request) {
         LOG.log(Level.FINE, "JMSConduit send message");
@@ -370,7 +369,7 @@ public class JMSConduit extends Abstract
     }
 
     /**
-     * Here we just deal with the reply message
+     * Process the reply message
      */
     public void doReplyMessage(Exchange exchange, javax.jms.Message jmsMessage) {
         Message inMessage = new MessageImpl();



Mime
View raw message