git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646363 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2008-04-09 14:09:16 +00:00
parent 60bcc521a7
commit 3ee5854e90
1 changed files with 1 additions and 1 deletions

View File

@ -1623,7 +1623,7 @@ public class ActiveMQSession implements Session, QueueSession, TopicSession, Sta
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