Support routes to query the state of the exchange (queues)
Support routes to query the state of the exchange (queues)
subscription routes called from workers requesting work
subscription routes called from workers requesting work
the /rest/exchange/submit routes used for worker subscriptions
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