* @param orderResolver The resolver providing the expected order of the listeners
*/
public AsynchronousCluster(String name, Executor executor, UnitOfWorkFactory unitOfWorkFactory,
SequencingPolicy<? super EventMessage<?>> sequencingPolicy,
ErrorHandler errorHandler, OrderResolver orderResolver) {
super(name, new EventListenerOrderComparator(orderResolver));
Assert.notNull(errorHandler, "errorHandler may not be null");
Assert.notNull(unitOfWorkFactory, "unitOfWorkFactory may not be null");
Assert.notNull(sequencingPolicy, "sequencingPolicy may not be null");
this.errorHandler = errorHandler;
this.executor = executor;