activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r646363 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQSession.java
Date Wed, 09 Apr 2008 14:09:21 GMT
Author: rajdavies
Date: Wed Apr  9 07:09:16 2008
New Revision: 646363

URL: http://svn.apache.org/viewvc?rev=646363&view=rev
Log:
Fix for https://issues.apache.org/activemq/browse/AMQ-1487

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQSession.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQSession.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQSession.java?rev=646363&r1=646362&r2=646363&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQSession.java (original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQSession.java Wed
Apr  9 07:09:16 2008
@@ -1623,7 +1623,7 @@
             if (this.debug) {
                 LOG.debug(getSessionId() + " sending message: " + msg);
             }
-            if (!connection.isAlwaysSyncSend() && (!msg.isPersistent() || connection.isUseAsyncSend()
|| txid != null)) {
+            if (!msg.isResponseRequired() && !connection.isAlwaysSyncSend() &&
(!msg.isPersistent() || connection.isUseAsyncSend() || txid != null)) {
                 this.connection.asyncSendPacket(msg);
                 if (producerWindow != null) {
                     // Since we defer lots of the marshaling till we hit the



Mime
View raw message