Author: chirino
Date: Sun Nov  7 19:51:58 2010
New Revision: 1032372

URL: http://svn.apache.org/viewvc?rev=1032372&view=rev
Log:
Send the message to the connection using the right dispatch queue.

Modified:
    
activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocol.scala

Modified: 
activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocol.scala
URL: 
http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocol.scala?rev=1032372&r1=1032371&r2=1032372&view=diff
==============================================================================
--- 
activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocol.scala
 (original)
+++ 
activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompProtocol.scala
 Sun Nov  7 19:51:58 2010
@@ -667,7 +667,9 @@ class StompProtocolHandler extends Proto
 
       if( receipt!=null ) {
         delivery.ack = { storeTx =>
-          connection_sink.offer(StompFrame(RECEIPT, List((RECEIPT_ID, 
receipt))))
+          dispatchQueue {
+            connection_sink.offer(StompFrame(RECEIPT, List((RECEIPT_ID, 
receipt))))
+          }
         }
       }
 


Reply via email to