Scala Example for Publication Service