com.github.sstone.amqp

Amqp

object Amqp

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Amqp
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class Ack(deliveryTag: Long) extends Request with Product with Serializable

  2. case class AddBinding(binding: Binding) extends Request with Product with Serializable

  3. case class AddConfirmListener(listener: ActorRef) extends Request with Product with Serializable

  4. case class AddFlowListener(listener: ActorRef) extends Request with Product with Serializable

  5. case class AddQueue(queue: QueueParameters) extends Request with Product with Serializable

  6. case class AddReturnListener(listener: ActorRef) extends Request with Product with Serializable

  7. case class AddShutdownListener(listener: ActorRef) extends Request with Product with Serializable

  8. case class AddStatusListener(listener: ActorRef) extends Request with Product with Serializable

  9. case class Binding(exchange: ExchangeParameters, queue: QueueParameters, routingKey: String) extends Product with Serializable

  10. case class CancelConsumer(consumerTag: String) extends Request with Product with Serializable

  11. case class ChannelParameters(qos: Int) extends Product with Serializable

    Channel parameters

  12. case class ConsumerCancelled(consumerTag: String) extends Product with Serializable

    sent when a consumer is cancelled

  13. case class CreateConsumer(listener: ActorRef) extends Request with Product with Serializable

  14. case class DeclareExchange(exchange: ExchangeParameters) extends Request with Product with Serializable

  15. case class DeclareQueue(queue: QueueParameters) extends Request with Product with Serializable

  16. case class DeleteExchange(name: String, ifUnused: Boolean = false) extends Request with Product with Serializable

  17. case class DeleteQueue(name: String, ifUnused: Boolean = false, ifEmpty: Boolean = false) extends Request with Product with Serializable

  18. case class Delivery(consumerTag: String, envelope: Envelope, properties: BasicProperties, body: Array[Byte]) extends Product with Serializable

    AMQP delivery, which is sent to the actor that you register with a Consumer

  19. case class Error(request: Request, reason: Throwable) extends Product with Serializable

    sent back by a publisher when the request was not processed successfully

  20. case class ExchangeParameters(name: String, passive: Boolean, exchangeType: String, durable: Boolean = false, autodelete: Boolean = false, args: Map[String, AnyRef] = ...) extends Product with Serializable

    exchange parameters

  21. case class Get(queue: String, autoAck: Boolean) extends Request with Product with Serializable

  22. case class HandleAck(deliveryTag: Long, multiple: Boolean) extends Product with Serializable

  23. case class HandleFlow(active: Boolean) extends Product with Serializable

    flow-control message, sent to listeners set with AddFlowListener

  24. case class HandleNack(deliveryTag: Long, multiple: Boolean) extends Product with Serializable

  25. case class Ok(request: Request, result: Option[Any] = scala.None) extends Product with Serializable

    sent back by a publisher when the request was processed successfully

  26. case class Publish(exchange: String, key: String, body: Array[Byte], properties: Option[BasicProperties] = scala.None, mandatory: Boolean = true, immediate: Boolean = false) extends Request with Product with Serializable

  27. case class PurgeQueue(name: String) extends Request with Product with Serializable

  28. case class QueueBind(queue: String, exchange: String, routing_key: String, args: Map[String, AnyRef] = ...) extends Request with Product with Serializable

  29. case class QueueParameters(name: String, passive: Boolean, durable: Boolean = false, exclusive: Boolean = false, autodelete: Boolean = true, args: Map[String, AnyRef] = ...) extends Product with Serializable

    queue parameters

  30. case class QueueUnbind(queue: String, exchange: String, routing_key: String, args: Map[String, AnyRef] = ...) extends Request with Product with Serializable

  31. case class Record(request: Request) extends Request with Product with Serializable

  32. case class Reject(deliveryTag: Long, requeue: Boolean = true) extends Request with Product with Serializable

  33. sealed trait Request extends AnyRef

    requests that can be sent to a ChannelOwner actor

  34. case class ReturnedMessage(replyCode: Int, replyText: String, exchange: String, routingKey: String, properties: BasicProperties, body: Array[Byte]) extends Product with Serializable

    wrapper for returned, or undelivered, messages i.

  35. case class Shutdown(cause: ShutdownSignalException) extends Product with Serializable

    shutdown message sent to listeners set with AddShutdownListener

  36. case class Transaction(publish: List[Publish]) extends Request with Product with Serializable

  37. case class WaitForConfirms(timeout: Option[Long]) extends Request with Product with Serializable

  38. case class WaitForConfirmsOrDie(timeout: Option[Long]) extends Request with Product with Serializable

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object ConfirmSelect extends Request with Product with Serializable

  7. object StandardExchanges

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def declareExchange(channel: Channel, e: ExchangeParameters): DeclareOk

    declare an exchange

    declare an exchange

    channel

    valid AMQP channel

    e

    exchange parameters

    returns

    a com.rabbitmq.client.AMQP.Exchange.DeclareOk object

  11. def declareQueue(channel: Channel, q: QueueParameters): DeclareOk

    declare a queue

    declare a queue

    channel

    valid AMQP channel

    q

    queue parameters

    returns

    a com.rabbitmq.client.AMQP.Queue.DeclareOk object

  12. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  21. def onConnection(actorRefFactory: ActorRefFactory, channelOrConnectionActor: ActorRef, onConnected: () ⇒ Unit): Unit

    executes a callback when a connection or channel actors is "connected" i.

    executes a callback when a connection or channel actors is "connected" i.e. usable

    • for a connection actor, connected means that it is connected to the AMQP broker
    • for a channel actor, connected means that it is has a valid channel (sent by its connection parent)

    this is a simple wrapper around the FSM state monitoring tools provided by Akka, since ConnectionOwner and ChannelOwner are state machines with 2 states (Disconnected and Connected)

    actorRefFactory

    actor capable of creating child actors (will be used to create a temporary watcher)

    channelOrConnectionActor

    reference to a ConnectionOwner or ChannelOwner actor

    onConnected

    connection callback

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

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def waitForConnection(actorRefFactory: ActorRefFactory, actors: ActorRef*): CountDownLatch

    wait until a number of connection or channel actors are connected

    wait until a number of connection or channel actors are connected

    actorRefFactory

    an actor capable of creating child actors (will be used to create temporary watchers)

    actors

    set of reference to ConnectionOwner or ChannelOwner actors

    returns

    a CountDownLatch object you can wait on; its count will reach 0 when all actors are connected

Inherited from AnyRef

Inherited from Any

Ungrouped