INT-1141 Improve on how MessageHandlers are stored
INT-1141 polished code INT-1141 added tests INT-1141 improved how iterator is obtaind from OrderAwareLikedHashSet INT-1141 polishing INT-1141 stashed commit with List-based collection and performance tests INT-1141 improved OrderedAwareLinkedHashSet INT-1141 polishing INT-1141, INT-2627 improved LoadBalancingStrategy and RoundRobinLoadBalancingStrategy to obtain handler's iterator faster INT-1141 improved getHandlerIterator method to ensure that it only executes reordering logic if there are more then one handler INT-1141 simplified OrderedAwareLinkedHashSet to not to extend from LinkedHashSet INT-1141 changed OrderedAwareLinkedHashSet to OrderedAwareCopyOnWriteArraySetTests, imporoved array creation in RoundRobinLoadBalancingStrategy INT-1141 polished failing tests and RoundRobinLoadBalancingStrategy. Removed 'transient' from OrderedAwareCopyOnWriteArraySet
This commit is contained in:
committed by
Gary Russell
parent
7dd1255351
commit
2b49c66f64
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2011 the original author or authors.
|
||||
* Copyright 2002-2012 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -56,7 +56,7 @@ public class PresenceOutboundChannelAdapterParserTests {
|
||||
.getPropertyValue(pollingConsumer, "handler");
|
||||
assertEquals(23, TestUtils.getPropertyValue(handler, "order"));
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
public void testRosterEventOutboundChannelAdapterParserEventConsumer(){
|
||||
Object eventConsumer = context.getBean("eventOutboundRosterAdapter");
|
||||
@@ -65,7 +65,7 @@ public class PresenceOutboundChannelAdapterParserTests {
|
||||
.getPropertyValue(eventConsumer, "handler");
|
||||
assertEquals(34, TestUtils.getPropertyValue(handler, "order"));
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
public void testRosterEventOutboundChannel(){
|
||||
Object channel = context.getBean("eventOutboundRosterChannel");
|
||||
|
||||
Reference in New Issue
Block a user