Class

jabroni.rest.exchange

ExchangeRoutes

Related Doc: package exchange

Permalink

case class ExchangeRoutes(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

see ExchangeHttp for the client-side of this

See also

http://doc.akka.io/docs/akka-stream-and-http-experimental/1.0/scala/http/routing-dsl/index.html

Linear Supertypes
Serializable, Serializable, Product, Equals, RouteLoggingSupport, FailFastCirceSupport, FailFastUnmarshaller, NoSpacesPrinter, BaseCirceSupport, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExchangeRoutes
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. RouteLoggingSupport
  7. FailFastCirceSupport
  8. FailFastUnmarshaller
  9. NoSpacesPrinter
  10. BaseCirceSupport
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExchangeRoutes(exchangeForHandler: (OnMatch) ⇒ Exchange with QueueObserver = Exchange.apply(_)())(implicit mat: Materializer)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def entityAsString(entity: HttpEntity)(implicit m: Materializer): Future[String]

    Permalink
    Definition Classes
    RouteLoggingSupport
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. lazy val exchange: Exchange with QueueObserver

    Permalink
  9. val exchangeForHandler: (OnMatch) ⇒ Exchange with QueueObserver

    Permalink
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def health: Route

    Permalink
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. implicit final val jsonMarshaller: ToEntityMarshaller[Json]

    Permalink
    Definition Classes
    BaseCirceSupport
  15. implicit final val jsonUnmarshaller: FromEntityUnmarshaller[Json]

    Permalink
    Definition Classes
    BaseCirceSupport
  16. def logRoute(route: Route, level: LogLevel = Logging.InfoLevel)(implicit m: Materializer): Route

    Permalink
    Definition Classes
    RouteLoggingSupport
  17. implicit final def marshaller[A](implicit arg0: Encoder[A]): ToEntityMarshaller[A]

    Permalink
    Definition Classes
    BaseCirceSupport
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. val observer: MatchObserver

    Permalink
  22. final def printer: Printer

    Permalink
    Definition Classes
    NoSpacesPrinter
  23. object query

    Permalink

    Support routes to query the state of the exchange (queues)

  24. def routes: Route

    Permalink
  25. object submission

    Permalink

    Routes for pushing work (requesting work from) workers

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. implicit final def unmarshaller[A](implicit arg0: Decoder[A]): FromEntityUnmarshaller[A]

    Permalink
    Definition Classes
    FailFastUnmarshaller
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. object worker

    Permalink

    subscription routes called from workers requesting work

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from RouteLoggingSupport

Inherited from FailFastCirceSupport

Inherited from FailFastUnmarshaller

Inherited from NoSpacesPrinter

Inherited from BaseCirceSupport

Inherited from AnyRef

Inherited from Any

Ungrouped