ARTEMIS-1606 - Change AddressInfo RoutingType Set to use EnumSet
This is fixing the broken testUnsupportedRoutingType test
This commit is contained in:
parent
60a8b49b1d
commit
cdc98c2a66
|
@ -74,7 +74,7 @@ public class CreateQueueTest extends ActiveMQTestBase {
|
||||||
assertEquals(ActiveMQExceptionType.INTERNAL_ERROR, ae.getType());
|
assertEquals(ActiveMQExceptionType.INTERNAL_ERROR, ae.getType());
|
||||||
}
|
}
|
||||||
|
|
||||||
routingTypes = EnumSet.of(RoutingType.ANYCAST, RoutingType.MULTICAST);
|
routingTypes = EnumSet.of(RoutingType.MULTICAST);
|
||||||
sendSession.createAddress(addressB, routingTypes, false);
|
sendSession.createAddress(addressB, routingTypes, false);
|
||||||
try {
|
try {
|
||||||
sendSession.createQueue(addressB, RoutingType.ANYCAST, queueB);
|
sendSession.createQueue(addressB, RoutingType.ANYCAST, queueB);
|
||||||
|
|
Loading…
Reference in New Issue