Package org.axonframework.common

Examples of org.axonframework.common.DirectExecutor


            return mock(ErrorHandler.class);
        }

        @Bean
        public Executor executor() {
            return new DirectExecutor();
        }
View Full Code Here


        assertEquals(Arrays.<EventMessage>asList(message2), ackedMessages);
    }

    @Test
    public void testOrderingOfListeners() {
        testSubject = new AsynchronousCluster("async", new DirectExecutor(),
                                              new DefaultUnitOfWorkFactory(mockTransactionManager),
                                              new SequentialPolicy(), new DefaultErrorHandler(RetryPolicy.proceed()),
                                              new OrderResolver() {
            @Override
            public int orderOf(EventListener listener) {
View Full Code Here

TOP

Related Classes of org.axonframework.common.DirectExecutor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.