Search in sources :

Example 1 with ChangeMessage

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);
}
Also used : ChangeMessage(microservice.pub.ChangeMessage)

Aggregations

ChangeMessage (microservice.pub.ChangeMessage)1