QPID-8212: Fix compilation error
authorAlex Rudyy <orudyy@apache.org>
Fri, 13 Jul 2018 10:25:16 +0000 (11:25 +0100)
committerAlex Rudyy <orudyy@apache.org>
Fri, 13 Jul 2018 10:25:45 +0000 (11:25 +0100)
client/src/main/java/org/apache/qpid/client/protocol/AMQProtocolSession.java

index bce7845..208a2ea 100644 (file)
@@ -42,8 +42,6 @@ import org.apache.qpid.client.state.AMQStateManager;
 import org.apache.qpid.framing.AMQDataBlock;
 import org.apache.qpid.framing.AMQMethodBody;
 import org.apache.qpid.framing.AMQShortString;
-import org.apache.qpid.framing.ChannelCloseBody;
-import org.apache.qpid.framing.ChannelCloseOkBody;
 import org.apache.qpid.framing.ContentBody;
 import org.apache.qpid.framing.ContentHeaderBody;
 import org.apache.qpid.framing.FieldTable;
@@ -498,9 +496,6 @@ public class AMQProtocolSession implements AMQVersionAwareProtocolSession
                             amqMethodBody.getMethod(),
                             amqMethodBody.getClazz(),
                             channelId, e);
-                    _protocolHandler.propagateExceptionToMethodFrameListener(channelId,
-                                                                             amqMethodBody,
-                                                                             new QpidException("Session is closing", e));
                 }
                 else
                 {