Package org.axonframework.eventstore

Examples of org.axonframework.eventstore.EventStreamNotFoundException


        @Override
        public DomainEventStream readEvents(String type, Object identifier) {
            loadCounter.incrementAndGet();
            DomainEventMessage message = storedEvents.get(identifier.toString());
            if (message == null) {
                throw new EventStreamNotFoundException(type, identifier);
            }
            return new SimpleDomainEventStream(Collections.singletonList(message));
        }
View Full Code Here

TOP

Related Classes of org.axonframework.eventstore.EventStreamNotFoundException

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.