← ZIO AMQP docs

Amqp

zio.amqp.Amqp
object Amqp

Attributes

Source
Client.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Amqp.type

Members list

Value members

Concrete methods

def connect(factory: ConnectionFactory): ZIO[Scope, Throwable, Connection]

Creates a Connection

Creates a Connection

Value parameters

factory

Connection factory

Attributes

Returns

Connection as a managed resource

Source
Client.scala
def connect(uri: URI): ZIO[Scope, Throwable, Connection]

Attributes

Source
Client.scala
def connect(amqpConfig: AMQPConfig): ZIO[Scope, Throwable, Connection]

Attributes

Source
Client.scala
def createChannel(connection: Connection): ZIO[Scope, Throwable, Channel]

Creates a Channel that is safe for concurrent access

Creates a Channel that is safe for concurrent access

Attributes

Source
Client.scala