February 2018
Intermediate to advanced
552 pages
13h 46m
English
In this section, we will use the following steps to develop our Reactive System's Consumer implementation(wf-consumer-impl) microservice:
case class WeatherForcasting(city:String, temperature:String)
object WeatherForcasting {
implicit val format: Format[WeatherForcasting] = Json.format[WeatherForcasting]
}
sealed trait WFCommand [T] extends ReplyType[T]
case class SaveNewWF(city:String, temperature: String) extends WFCommand[Done]
object SaveNewWF {
implicit val formatter = Json.format[SaveNewWF]
}
object WFEventTag { val INSTANCE = AggregateEventTag[WFEvent] ...Read now
Unlock full access