Examples of SimpleDomainEventStream


Examples of org.axonframework.domain.SimpleDomainEventStream

                                            public String getSnapshotEventEntryEntityName() {
                                                return "CustomSnapshotEventEntry";
                                            }
                                        }));

        testSubject.appendEvents("temp", new SimpleDomainEventStream(
                new GenericDomainEventMessage<String>("id1", 1L, "Payload")));
        testSubject.appendEvents("temp", new SimpleDomainEventStream(
                new GenericDomainEventMessage<String>("id1", 2L, "Payload2")));
        testSubject.appendSnapshotEvent("temp",
                                        new GenericDomainEventMessage<String>("id1", 1L, "Snapshot1"));

        entityManager.flush();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.