Skip to content

Commit 67d1832

Browse files
committed
Changed manual to auto
1 parent f98ccb5 commit 67d1832

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/src/com/rabbitmq/examples/TestMain.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ public void tryBasicReturn() throws IOException {
458458
log("About to try mandatory/immediate publications");
459459

460460
String mx = "mandatoryTestExchange";
461-
_ch1.exchangeDeclare(_ticket, mx, "fanout");
461+
_ch1.exchangeDeclare(_ticket, mx, "fanout", false, false, true, null);
462462

463463
returnCell = new BlockingCell<Object>();
464464
_ch1.basicPublish(_ticket, mx, "", true, false, null, "one".getBytes());
@@ -486,7 +486,6 @@ public void tryBasicReturn() throws IOException {
486486
drain(1, mq, true);
487487

488488
_ch1.queueDelete(_ticket, mq);
489-
_ch1.exchangeDelete(_ticket, mx);
490489

491490
log("Completed basic.return testing.");
492491
}

0 commit comments

Comments
 (0)