Package org.axonframework.examples.addressbook.web.dto

Examples of org.axonframework.examples.addressbook.web.dto.RemovedDTO


        producer.sendAddressUpdate(addressDTO);
    }

    @EventHandler
    public void handleAddressRemovedEvent(AddressRemovedEvent event) {
        RemovedDTO removedDTO = RemovedDTO.createRemovedFrom(
                event.getContactId(), event.getType());
        producer.sendRemovedUpdate(removedDTO);
    }
View Full Code Here


        producer.sendContactUpdate(contactDTO);
    }

    @EventHandler
    public void handleContactRemovedEvent(ContactDeletedEvent event) {
        RemovedDTO removedDTO = RemovedDTO.createRemovedFrom(event.getContactId());
        producer.sendRemovedUpdate(removedDTO);
    }
View Full Code Here

TOP

Related Classes of org.axonframework.examples.addressbook.web.dto.RemovedDTO

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.