model

object model
class Object
trait Matchable
class Any

Type members

Classlikes

final case class AckMultiple(multiple: Boolean) extends AnyVal
sealed trait AckResult extends Product with Serializable
Companion
object
object AckResult
Companion
class
final case class AmqpBody(value: Array[Byte]) extends AnyVal
case class AmqpEnvelope[A](deliveryTag: DeliveryTag, payload: A, properties: AmqpProperties, exchangeName: ExchangeName, routingKey: RoutingKey, redelivered: Boolean)
Companion
object
object AmqpEnvelope
Companion
class
sealed trait AmqpFieldValue extends Product with Serializable

This hierarchy is meant to reflect the output of com.rabbitmq.client.impl.ValueReader.readFieldValue in a type-safe way.

This hierarchy is meant to reflect the output of com.rabbitmq.client.impl.ValueReader.readFieldValue in a type-safe way.

Note that we don't include LongString here because of some ambiguity in how RabbitMQ's Java client deals with it. While it will happily write out LongStrings and Strings separately, when reading it will always interpret a String as a LongString and so will never return a normal String. This means that if we included separate LongStringVal and StringVals we could have encode-decode round-trip differences (taking a String sending it off to RabbitMQ and reading it back will result in a LongString). We therefore collapse both LongStrings and Strings into a single StringVal backed by an ordinary String.

Note that this type hierarchy is NOT exactly identical to the AMQP 0-9-1 spec. This is partially because RabbitMQ does not exactly follow the spec itself (see https://www.rabbitmq.com/amqp-0-9-1-errata.html#section_3) and also because the underlying Java client chooses to try to map the RabbitMQ types into Java primitive types when possible, collapsing a lot of the signed and unsigned types because Java does not have the signed and unsigned equivalents.

Companion
object
Companion
class
case class AmqpMessage[A](payload: A, properties: AmqpProperties)
Companion
object
object AmqpMessage
Companion
class
case class AmqpProperties(contentType: Option[String], contentEncoding: Option[String], priority: Option[Int], deliveryMode: Option[DeliveryMode], correlationId: Option[String], messageId: Option[String], `type`: Option[String], userId: Option[String], appId: Option[String], expiration: Option[String], replyTo: Option[String], clusterId: Option[String], timestamp: Option[Instant], headers: Map[String, AmqpFieldValue])
Companion
object
Companion
class
case class BasicQos(prefetchSize: Int, prefetchCount: Int, global: Boolean)
case class ConsumerArgs(consumerTag: ConsumerTag, noLocal: Boolean, exclusive: Boolean, args: Arguments)
final case class ConsumerTag(value: String) extends AnyVal
Companion
object
object ConsumerTag extends String => ConsumerTag
Companion
class
sealed abstract class DeliveryMode(val value: Int) extends Product with Serializable
Companion
object
object DeliveryMode
Companion
class
final case class DeliveryTag(value: Long) extends AnyVal
Companion
object
object DeliveryTag extends Long => DeliveryTag
Companion
class
final case class ExchangeBindingArgs(value: Arguments) extends AnyVal
final case class ExchangeDeclarationArgs(value: Arguments) extends AnyVal
final case class ExchangeName(value: String) extends AnyVal
Companion
object
object ExchangeName extends String => ExchangeName
Companion
class
sealed trait ExchangeType extends Product with Serializable
Companion
object
object ExchangeType
Companion
class
final case class ExchangeUnbindArgs(value: Arguments) extends AnyVal
case class PublishReturn(replyCode: ReplyCode, replyText: ReplyText, exchange: ExchangeName, routingKey: RoutingKey, properties: AmqpProperties, body: AmqpBody)
final case class PublishingFlag(mandatory: Boolean) extends AnyVal
final case class QueueBindingArgs(value: Arguments) extends AnyVal
final case class QueueDeclarationArgs(value: Arguments) extends AnyVal
final case class QueueName(value: String) extends AnyVal
Companion
object
object QueueName extends String => QueueName
Companion
class
final case class QueueUnbindArgs(value: Arguments) extends AnyVal
case class RabbitChannel(value: Channel) extends AMQPChannel
case class RabbitConnection(value: Connection) extends AMQPConnection
final case class ReplyCode(value: Int) extends AnyVal
final case class ReplyText(value: String) extends AnyVal
final case class RoutingKey(value: String) extends AnyVal
Companion
object
object RoutingKey extends String => RoutingKey
Companion
class
sealed abstract case class ShortString

A string whose UTF-8 encoded representation is 255 bytes or less.

A string whose UTF-8 encoded representation is 255 bytes or less.

Parts of the AMQP spec call for the use of such strings.

Companion
object
object ShortString
Companion
class

Types

type StreamAckerConsumer[F[_], A] = (AckResult => F[Unit], Stream[F, AmqpEnvelope[A]])

Value members

Concrete fields

val instantOrderWithSecondPrecision: Order[Instant]