consider RestaurantMenuRevised event class (ftgo-restaurant-service-api).
It's consumed in event consumers (OrderEventConsumer, KitchenServiceEventConsumer) , but I can't see where it's published. It seems it's not published. Also it has no arg-constructor, so not clear, how it's "menu" property gets initialized.
Hi,
consider RestaurantMenuRevised event class (ftgo-restaurant-service-api).
It's consumed in event consumers (OrderEventConsumer, KitchenServiceEventConsumer) , but I can't see where it's published. It seems it's not published. Also it has no arg-constructor, so not clear, how it's "menu" property gets initialized.
Is it correct?
====
package net.chrisrichardson.ftgo.restaurantservice.events;
import io.eventuate.tram.events.common.DomainEvent;
public class RestaurantMenuRevised implements DomainEvent {
private RestaurantMenu menu;
public RestaurantMenu getRevisedMenu() { return menu; } }