/[Apache-SVN]
ViewVC logotype

Revision 1180070


Jump to revision: Previous Next
Author: tabish
Date: Fri Oct 7 15:22:31 2011 UTC (13 years ago)
Changed paths: 5
Log Message:
fix for: https://issues.apache.org/jira/browse/AMQ-3481

Issues arises when the StompTransport is sending an Ack back for Auto Ack 
mode in the same thread as the message was dispatched in.  If an incoming 
command beats the auto ack to onCommand in the activity monitor it will block
as the original thread is now waiting on the incoming command for the transport
lock.  Need to send back the Auto Acks in their own thread using a Task Runner
in the Stomp Transport so that the dispatch thread can complete and release
its lock on the transport.

Changed paths

Path Details
Directoryactivemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/stomp/JmsFrameTranslator.java modified , text changed
Directoryactivemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/stomp/StompSubscription.java modified , text changed
Directoryactivemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/stomp/StompTransport.java modified , text changed
Directoryactivemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/stomp/StompTransportFilter.java modified , text changed
Directoryactivemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/ws/StompSocket.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26