mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646363 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
60bcc521a7
commit
3ee5854e90
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue