Class

nl.vroste.zio.amqp

Channel

Related Doc: package amqp

Permalink

class Channel extends AnyRef

Thread-safe access to a RabbitMQ Channel

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

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. def ack(deliveryTag: Long, multiple: Boolean = false): ZIO[Blocking, Throwable, Unit]

    Permalink
  5. def ackMany(deliveryTag: Seq[Long]): ZIO[Blocking, Throwable, Unit]

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def basicQos(count: Int, global: Boolean = false): ZIO[Blocking, Throwable, Unit]

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  9. def consume(queue: String, consumerTag: String, autoAck: Boolean = false): ZStream[Blocking, Throwable, Delivery]

    Permalink

    Consume a stream of messages from a queue

    Consume a stream of messages from a queue

    When the stream is completed, the AMQP consumption is cancelled

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def exchangeDeclare(exchange: String, type: ExchangeType, durable: Boolean = false, autoDelete: Boolean = false, internal: Boolean = false, arguments: Map[String, AnyRef] = Map.empty): ZIO[Blocking, Throwable, Unit]

    Permalink
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def nack(deliveryTag: Long, requeue: Boolean = false, multiple: Boolean = false): ZIO[Blocking, Throwable, Unit]

    Permalink
  17. def nackMany(deliveryTag: Seq[Long], requeue: Boolean = false): ZIO[Blocking, Throwable, Unit]

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  21. def publish(exchange: String, body: Array[Byte], routingKey: String = "", mandatory: Boolean = false, immediate: Boolean = false, props: BasicProperties = new AMQP.BasicProperties()): ZIO[Blocking, Throwable, Unit]

    Permalink
  22. def queueBind(queue: String, exchange: String, routingKey: String, arguments: Map[String, AnyRef] = Map.empty): ZIO[Blocking, Throwable, Unit]

    Permalink
  23. def queueDeclare(queue: String = "", durable: Boolean = false, exclusive: Boolean = false, autoDelete: Boolean = false, arguments: Map[String, AnyRef] = Map.empty): ZIO[Blocking, Throwable, String]

    Permalink

    Declare a queue

    Declare a queue

    queue

    Name of the queue. If left empty, a random queue name is used

    durable

    True if we are declaring a durable queue (the queue will survive a server restart)

    exclusive

    Exclusive to this connection

    autoDelete

    True if we are declaring an autodelete queue (server will delete it when no longer in use)

    returns

    The name of the created queue

  24. def queueDelete(queue: String = "", ifUnused: Boolean = false, ifEmpty: Boolean = false): ZIO[Blocking, Throwable, Unit]

    Permalink

    Delete a queue

    Delete a queue

    queue

    Name of the queue

    ifUnused

    True if the queue should be deleted only if not in use

    ifEmpty

    True if the queue should be deleted only if empty

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped