use of microservice.pub.ChangeMessage in project kontraktor by RuedigerMoeller.
the class MyService method publishItem.
@Override
public IPromise publishItem(Item item) {
fireChange(new ChangeMessage().action(ChangeMessage.Action.ADDED).item(item));
Log.Info(this, "received pub item");
return resolve(true);
}
Aggregations