From 7f7cd502fcf6de85a8e3248238150ce1aad56ff8 Mon Sep 17 00:00:00 2001 From: "Hiram R. Chirino" Date: Fri, 23 Feb 2007 20:26:16 +0000 Subject: [PATCH] r249@34: chirino | 2007-02-23 14:50:22 -0500 Don't send a response back if the broker requested that we don't send it. git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@511093 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/activemq/broker/TransportConnection.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java b/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java index b731b70c5a..e343741718 100755 --- a/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java +++ b/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java @@ -301,10 +301,6 @@ public class TransportConnection implements Service, Connection, Task, CommandVi } } if( responseRequired ) { - if( response == null ) { - response = new Response(); - } - response.setCorrelationId(commandId); if( context!=null && context.isDontSendReponse() ) { // No need to send back a response at this time. } else {