aboutsummaryrefslogtreecommitdiff
path: root/tests/DieSender.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/DieSender.java')
-rw-r--r--tests/DieSender.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/DieSender.java b/tests/DieSender.java
index c44446b..a19854f 100644
--- a/tests/DieSender.java
+++ b/tests/DieSender.java
@@ -33,10 +33,10 @@ public class DieSender extends IvyApplicationAdapter {
public static void main(String[] args) throws IvyException {
String mtokill = DEFAULTTOKILL;
- String domain = Ivy.getDomain(null);
+ String domain = Domain.getDomainArgs("DieSender",args);
System.out.println("will kill each and every " + mtokill + " on the " + domain +" bus");
Ivy bus = new Ivy("DieSender","DieSender ready",null);
- bus.start(Ivy.getDomain(null));
+ bus.start(domain);
new DieSender(bus,mtokill);
}