[AMQ-6587] - fix typo in test that needs 1.7 final

(cherry picked from commit 64b3203713)
This commit is contained in:
gtully 2017-02-01 16:43:02 +00:00 committed by Christopher L. Shannon (cshannon)
parent 95dc0eba2b
commit 8af72c2157
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ public class DestinationGCStressTest {
c.start(); c.start();
Session s = c.createSession(false, Session.AUTO_ACKNOWLEDGE); Session s = c.createSession(false, Session.AUTO_ACKNOWLEDGE);
MessageProducer producer = s.createProducer(null); MessageProducer producer = s.createProducer(null);
Message message = session.createTextMessage(); Message message = s.createTextMessage();
int j; int j;
while ((j = max.decrementAndGet()) > 0) { while ((j = max.decrementAndGet()) > 0) {
producer.send(new ActiveMQTopic("A." + j), message); producer.send(new ActiveMQTopic("A." + j), message);