ARTEMIS-1606 - Change AddressInfo RoutingType Set to use EnumSet

This is fixing the broken testUnsupportedRoutingType test
This commit is contained in:
Francesco Nigro 2018-01-18 20:54:53 +01:00 committed by Michael Pearce
parent 60a8b49b1d
commit cdc98c2a66
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ public class CreateQueueTest extends ActiveMQTestBase {
assertEquals(ActiveMQExceptionType.INTERNAL_ERROR, ae.getType());
}
routingTypes = EnumSet.of(RoutingType.ANYCAST, RoutingType.MULTICAST);
routingTypes = EnumSet.of(RoutingType.MULTICAST);
sendSession.createAddress(addressB, routingTypes, false);
try {
sendSession.createQueue(addressB, RoutingType.ANYCAST, queueB);