ResourceNames { public static SimpleString getRetroactiveResourceQueueName(String prefix, String delimiter, SimpleString address, RoutingType routingType) { return getRetroactiveResourceName(prefix, delimiter, address, trimLastCharacter(QUEUE).concat(delimiter).concat(routingType.toString().toLowerCase())); }  static SimpleString getRetroactiveResourceQueueName(String prefix, String delimiter, SimpleString address, RoutingType routingType); static SimpleString getRetroactiveResourceAddressName(String prefix, String delimiter, SimpleString address); static SimpleString getRetroactiveResourceDivertName(String prefix, String delimiter, SimpleString address); static boolean isRetroactiveResource(String prefix, SimpleString address); static String decomposeRetroactiveResourceAddressName(String prefix, String delimiter, String address); static final String BROKER; static final String QUEUE; static final String ADDRESS; static final String BRIDGE; static final String ACCEPTOR; static final String DIVERT; static final String CORE_CLUSTER_CONNECTION; static final String BROADCAST_GROUP; static final String RETROACTIVE_SUFFIX; }
@Test public void testGetRetroactiveResourceQueueName() { assertEquals(testResourceMulticastQueueName, ResourceNames.getRetroactiveResourceQueueName(prefix, delimiter, testAddress, RoutingType.MULTICAST).toString()); assertEquals(testResourceAnycastQueueName, ResourceNames.getRetroactiveResourceQueueName(prefix, delimiter, testAddress, RoutingType.ANYCAST).toString()); }