case classExchangeRoutes(exchangeForHandler: (OnMatch) ⇒ Exchange with QueueObserver = Exchange.apply(_)())(implicit mat: Materializer) extends FailFastCirceSupport with RouteLoggingSupport with Product with Serializable
Handles:
PUT rest/exchange/submit
PUT rest/exchange/subscribe
POST rest/exchange/take
POST rest/exchange/subscriptions
POST rest/exchange/jobs
Handles:
PUT rest/exchange/submit PUT rest/exchange/subscribe POST rest/exchange/take
POST rest/exchange/subscriptions POST rest/exchange/jobs
see ExchangeHttp for the client-side of this
http://doc.akka.io/docs/akka-stream-and-http-experimental/1.0/scala/http/routing-dsl/index.html