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

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


    private UpdateMessageProducerForFlex producer;

    @EventHandler
    public void handleAddressCreatedEvent(AddressRegisteredEvent event) {
        logger.debug("Received an event of type {}", event.getClass().getSimpleName());
        AddressDTO addressDTO = AddressDTO.createFrom(
                event.getAddress(), event.getContactId(), event.getType());
        producer.sendAddressUpdate(addressDTO);
    }
View Full Code Here

TOP

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

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.