activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r394142 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/stomp/Send.java
Date Fri, 14 Apr 2006 17:13:05 GMT
Author: chirino
Date: Fri Apr 14 10:12:59 2006
New Revision: 394142

URL: http://svn.apache.org/viewcvs?rev=394142&view=rev
Log:
message.onSend() was not being called causing the readOnly fields to not be properly initialized.

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/stomp/Send.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/stomp/Send.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/stomp/Send.java?rev=394142&r1=394141&r2=394142&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/stomp/Send.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/stomp/Send.java
Fri Apr 14 10:12:59 2006
@@ -124,7 +124,9 @@
                 throw new ProtocolException(headers.getProperty(Stomp.Headers.TRANSACTION)
+ " is an invalid transaction id");
             msg.setTransactionId(tx_id);
         }
-
+        
+        msg.onSend();
+        
         return new CommandEnvelope(msg, headers);
     }
 



Mime
View raw message