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 Producer implementation (wf-producer-impl) microservice:
sealed trait WFCommand[R] extends ReplyType[R]
case class UseWFMessage(city: String, temperature: String) extends WFCommand[Done]
object UseWFMessage {
implicit val format: Format[UseWFMessage] = Json.format[UseWFMessage]
}
case class WF(city: String, temperature: String) extends WFCommand[String]
object WF {
implicit val format: Format[WF] = Json.format[WF]
}
object WFEventTag {
val instance: AggregateEventTag[WFEvent] = AggregateEventTag[WFEvent]() ...Read now
Unlock full access