Object/Trait

com.spingo.op_rabbit

Binding

Related Docs: trait Binding | package op_rabbit

Permalink

object Binding

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Binding
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Abstract extends Concreteness

    Permalink
  2. sealed trait Concrete extends Concreteness

    Permalink
  3. sealed trait Concreteness extends AnyRef

    Permalink
  4. trait ExchangeDefinition[+T <: Concreteness] extends TopologyDefinition

    Permalink
  5. trait QueueDefinition[+T <: Concreteness] extends TopologyDefinition

    Permalink
  6. sealed trait TopologyDefinition extends AnyRef

    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 direct(queue: QueueDefinition[Concrete], exchange: ExchangeDefinition[Concreteness] with Exchange[Direct.type], routingKeys: List[String] = Nil): Binding

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

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def fanout(queue: QueueDefinition[Concrete], exchange: ExchangeDefinition[Concrete] with Exchange[Fanout.type]): Binding

    Permalink

    Idempotently declare a fanout exchange, and queue.

    Idempotently declare a fanout exchange, and queue. Bind queue to exchange.

    queue

    The queue into which the fanout messages should be delivered.

    exchange

    The fanout exchange

  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 hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. def headers(queue: QueueDefinition[Concrete], exchange: ExchangeDefinition[Concrete] with Exchange[Headers.type], headers: Seq[Header], matchAll: Boolean = true): Binding

    Permalink

    Idempotently declare a headers exchange, and queue.

    Idempotently declare a headers exchange, and queue. Bind queue using modeled Header properties.

    It's important to note that the type matters in matching. Header("thing", 1) and Header("thing", "1") and seen differently to RabbitMQ.

    The op-rabbit Header properties class is modeled, such that the compiler will not allow you to specify a type that RabbitMQ does not support. Scala maps / seqs are appropriately converted.

    queue

    The queue into which the matching messages should be delivered.

    exchange

    The headers exchange

    headers

    List of modeled Header values used for matching.

    matchAll

    Should all headers match in order to route the message to this queue? Default true. If false, then any if any of the match headers are matched, route the message. Pointless if only one match header defined.

  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  20. def topic(queue: QueueDefinition[Concrete], topics: Seq[String], exchange: ExchangeDefinition[Concrete] with Exchange[Topic.type] = ...): Binding

    Permalink

    Binding which declares a message queue, and then binds various topics to it.

    Binding which declares a message queue, and then binds various topics to it. Note that bindings are idempotent.

    queue

    The queue which will receive the messages matching the topics

    topics

    A list of topics to bind to the message queue. Examples: "stock.*.nyse", "stock.#"

    exchange

    The topic exchange over which to listen for said topics. Defaults to durable, configured topic exchange, as named by configuration op-rabbit.topic-exchange-name.

    See also

    Queue, Binding$.headers, Binding$.fanout, Subscription

  21. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped