use of amqp.v100.ptp.transacted.retirement.commit.Sender in project swiftmq-ce by iitsoftware.
the class Suite method suite.
public static Test suite() {
int nPairs = Integer.parseInt(System.getProperty("npairs", "10"));
int nSubscribers = Integer.parseInt(System.getProperty("nsubscribers", "10"));
TestSuite suite = new Suite();
for (int i = 0; i < nPairs; i++) {
for (int j = 0; j < nSubscribers; j++) suite.addTest(new Receiver("receive", QoS.AT_MOST_ONCE, Util.getTopicNamePrefix() + (i + 1), "test-" + i + "-" + j));
suite.addTest(new Sender("send", QoS.AT_MOST_ONCE, Util.getTopicNamePrefix() + (i + 1)));
}
return suite;
}
use of amqp.v100.ptp.transacted.retirement.commit.Sender in project swiftmq-ce by iitsoftware.
the class Suite method suite.
public static Test suite() {
int nPairs = Integer.parseInt(System.getProperty("npairs", "10"));
TestSuite suite = new Suite();
for (int i = 0; i < nPairs; i++) {
suite.addTest(new Receiver("receive", QoS.AT_MOST_ONCE, Util.getQueueNamePrefix() + (i + 1)));
suite.addTest(new Sender("send", QoS.AT_MOST_ONCE, Util.getQueueNamePrefix() + (i + 1)));
}
return suite;
}
use of amqp.v100.ptp.transacted.retirement.commit.Sender in project swiftmq-ce by iitsoftware.
the class Suite method suite.
public static Test suite() {
int nPairs = Integer.parseInt(System.getProperty("npairs", "10"));
TestSuite suite = new Suite();
for (int i = 0; i < nPairs; i++) {
suite.addTest(new Receiver("receive", QoS.AT_LEAST_ONCE, Util.getQueueNamePrefix() + (i + 1)));
suite.addTest(new Sender("send", QoS.AT_LEAST_ONCE, Util.getQueueNamePrefix() + (i + 1)));
}
return suite;
}
use of amqp.v100.ptp.transacted.retirement.commit.Sender in project swiftmq-ce by iitsoftware.
the class Suite method suite.
public static Test suite() {
int nPairs = Integer.parseInt(System.getProperty("npairs", "10"));
TestSuite suite = new Suite();
for (int i = 0; i < nPairs; i++) {
suite.addTest(new Receiver("receive", QoS.EXACTLY_ONCE, Util.getQueueNamePrefix() + (i + 1)));
suite.addTest(new Sender("send", QoS.EXACTLY_ONCE, Util.getQueueNamePrefix() + (i + 1)));
}
return suite;
}
use of amqp.v100.ptp.transacted.retirement.commit.Sender in project swiftmq-ce by iitsoftware.
the class Suite method suite.
public static Test suite() {
int nPairs = Integer.parseInt(System.getProperty("npairs", "10"));
TestSuite suite = new Suite();
for (int i = 0; i < nPairs; i++) {
suite.addTest(new Receiver("receive", QoS.AT_LEAST_ONCE, Util.getQueueNamePrefix() + (i + 1)));
suite.addTest(new Sender("send", QoS.AT_LEAST_ONCE, Util.getQueueNamePrefix() + (i + 1)));
}
return suite;
}
Aggregations