mirror of https://github.com/apache/activemq.git
[AMQ-6587] - fix typo in test that needs 1.7 final
(cherry picked from commit 64b3203713
)
This commit is contained in:
parent
95dc0eba2b
commit
8af72c2157
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue