Skip to content

Commit fb73369

Browse files
author
Matthias Radestock
committed
rename UME to AE
1 parent 7da5bc9 commit fb73369

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

test/src/com/rabbitmq/client/test/functional/UnroutableMessageExchange.java renamed to test/src/com/rabbitmq/client/test/functional/AlternateExchange.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
import java.util.Map;
4141
import java.util.HashMap;
4242

43-
public class UnroutableMessageExchange extends BrokerTestCase
43+
public class AlternateExchange extends BrokerTestCase
4444
{
4545

4646
static private String[] resources = new String[]{"x","u","v"};
@@ -83,17 +83,17 @@ public void handleBasicReturn(int replyCode,
8383
}
8484
}
8585

86-
protected void setupRouting(String x, String ume) throws IOException {
86+
protected void setupRouting(String x, String ae) throws IOException {
8787
Map<String, Object> args = new HashMap<String, Object>();
88-
if (ume != null) args.put("ume", ume);
88+
if (ae != null) args.put("alternate-exchange", ae);
8989
channel.exchangeDeclare(x, "direct", false, false, false, args);
9090
channel.queueBind(x, x, x);
9191
}
9292

9393
protected void publish(String key, boolean mandatory, boolean immediate)
9494
throws IOException {
9595
channel.basicPublish("x", key, mandatory, immediate, null,
96-
"ume-test".getBytes());
96+
"ae-test".getBytes());
9797
}
9898

9999
protected void publish(String key) throws IOException {
@@ -132,9 +132,9 @@ protected void check(String key, boolean ret) throws IOException {
132132
check(key, false, false, ret);
133133
}
134134

135-
public void testUme() throws IOException {
135+
public void testAe() throws IOException {
136136

137-
//check various cases of missing UMEs - we expect to see some
137+
//check various cases of missing AEs - we expect to see some
138138
//warnings in the server logs
139139

140140
boolean unrouted[] = new boolean[] {false, false, false};
@@ -151,7 +151,7 @@ public void testUme() throws IOException {
151151
check("v", false); //no warning
152152
check("z", unrouted, false); //no warning
153153

154-
//routing with UMEs in place
154+
//routing with AEs in place
155155
for (String k : keys) {
156156
//ordinary
157157
check(k, false);

test/src/com/rabbitmq/client/test/functional/FunctionalTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public static TestSuite suite() {
4949
suite.addTestSuite(Bug20004Test.class);
5050
suite.addTestSuite(QosTests.class);
5151
suite.addTestSuite(Permissions.class);
52-
suite.addTestSuite(UnroutableMessageExchange.class);
52+
suite.addTestSuite(AlternateExchange.class);
5353
return suite;
5454
}
5555
}

0 commit comments

Comments
 (0)