This commit is contained in:
Kevin Earls 2014-03-11 14:58:13 +01:00
parent a3a41dae37
commit c8a5fb769e
2 changed files with 2 additions and 2 deletions

View File

@ -158,6 +158,7 @@ public class AmqpNioTransportHelper {
} else {
transportSupport.doConsume(AmqpSupport.toBuffer(currentBuffer));
}
currentBuffer = null;
if (plain.hasRemaining()) {
if (plain.remaining() < 4) {
@ -167,8 +168,8 @@ public class AmqpNioTransportHelper {
}
} else {
nextFrameSize = -1;
currentBuffer = null;
}
return nextFrameSize;
}

View File

@ -42,7 +42,6 @@ import org.objectweb.jtests.jms.conform.topic.TemporaryTopicTest;
/**
* Run the JoramJmsTests using amqp+nio
*/
@Ignore("AMQ-5094")
@RunWith(Suite.class)
@Suite.SuiteClasses({
// TopicSessionTest.class, // Hangs, see https://issues.apache.org/jira/browse/PROTON-154