activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r418617 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/stomp2/ProtocolConverter.java
Date Sun, 02 Jul 2006 16:48:35 GMT
Author: chirino
Date: Sun Jul  2 09:48:34 2006
New Revision: 418617

URL: http://svn.apache.org/viewvc?rev=418617&view=rev
Log:
Receipt action was not being populated.

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/stomp2/ProtocolConverter.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/stomp2/ProtocolConverter.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/stomp2/ProtocolConverter.java?rev=418617&r1=418616&r2=418617&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/stomp2/ProtocolConverter.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/stomp2/ProtocolConverter.java
Sun Jul  2 09:48:34 2006
@@ -93,7 +93,8 @@
 	        return new ResponseHandler() {
 	    		public void onResponse(ProtocolConverter converter, Response response) throws IOException
{
 	                StompFrame sc = new StompFrame();
-	                sc.setHeaders(new HashMap(5));
+	                sc.setAction(Stomp.Responses.RECEIPT);
+	                sc.setHeaders(new HashMap(1));
 	                sc.getHeaders().put(Stomp.Headers.Response.RECEIPT_ID, receiptId);
 	        		transportFilter.sendToStomp(sc);
 	    		}



Mime
View raw message