Package-level declarations

Types

Link copied to clipboard
data class BoundExchange(val destination: String, val source: String, val routingKey: String, val arguments: Table)

Bind an exchange to another exchange.

Link copied to clipboard

Bind an exchange to another exchange.

Link copied to clipboard
data class BoundQueue(val queue: String, val exchange: String, val routingKey: String, val arguments: Table)

Binds a queue to an exchange.

Link copied to clipboard

Binds a queue to an exchange.

Link copied to clipboard

Commit a transaction.

Link copied to clipboard

Commit a transaction.

Link copied to clipboard
data class ConsumedQueue(val queue: String, val consumerTag: String, val noAck: Boolean, val exclusive: Boolean, val arguments: Table, val onDelivery: suspend (AMQPResponse.Channel.Message.Delivery) -> Unit, val onCanceled: suspend (AMQPResponse.Channel) -> Unit)
Link copied to clipboard
data class ControlledFlow(val active: Boolean)

Send a flow message to broker to start or stop sending messages to consumers. Warning: Not supported by all brokers.

Link copied to clipboard

Send a flow message to broker to start or stop sending messages to consumers. Warning: Not supported by all brokers.

Link copied to clipboard
data class DeclaredExchange(val name: String, val type: String, val durable: Boolean, val autoDelete: Boolean, val internal: Boolean, val arguments: Table)

Declare an exchange.

Link copied to clipboard

Declare an exchange.

Link copied to clipboard
data class DeclaredPassiveExchange(val name: String)

Passively declares an exchange.

Link copied to clipboard

Passively declares an exchange.

Link copied to clipboard
data class DeclaredPassiveQueue(val name: String)

Passively declares a queue.

Link copied to clipboard

Passively declares a queue.

Link copied to clipboard
data class DeclaredQos(val count: UShort, val global: Boolean)

Sets a prefetch limit when consuming messages. No more messages will be delivered to the consumer until one or more messages have been acknowledged or rejected.

Link copied to clipboard

Sets a prefetch limit when consuming messages. No more messages will be delivered to the consumer until one or more messages have been acknowledged or rejected.

Link copied to clipboard
data class DeclaredQueue(val name: String, val durable: Boolean, val exclusive: Boolean, val autoDelete: Boolean, val arguments: Table)

Declares a queue.

Link copied to clipboard

Declares a queue.

Link copied to clipboard
data class DeletedExchange(val name: String, val ifUnused: Boolean)

Delete an exchange.

Link copied to clipboard

Delete an exchange.

Link copied to clipboard
data class DeletedQueue(val name: String, val ifUnused: Boolean, val ifEmpty: Boolean)

Deletes a queue.

Link copied to clipboard

Deletes a queue.

Link copied to clipboard
data class FetchedMessage(val queue: String, val noAck: Boolean)

Get a single message from a queue.

Link copied to clipboard

Get a single message from a queue.

Link copied to clipboard
data class PublishedMessage(val body: ByteArray, val exchange: String, val routingKey: String, val mandatory: Boolean, val immediate: Boolean, val properties: Properties)

Publish a ByteArray message to exchange or queue.

Link copied to clipboard

Publish a ByteArray message to exchange or queue.

Link copied to clipboard
data class PurgedQueue(val name: String)

Deletes all messages from a queue.

Link copied to clipboard

Deletes all messages from a queue.

Link copied to clipboard
data class RecoveredMessages(val requeue: Boolean)

Tell the broker what to do with all unacknowledged messages. Unacknowledged messages retrieved by basicGet are requeued regardless.

Link copied to clipboard

Tell the broker what to do with all unacknowledged messages. Unacknowledged messages retrieved by basicGet are requeued regardless.

Link copied to clipboard

Rollback a transaction.

Link copied to clipboard

Rollback a transaction.

Link copied to clipboard

Set channel in publish confirm mode, each published message will be acked or nacked.

Link copied to clipboard

Set channel in publish confirm mode, each published message will be acked or nacked.

Link copied to clipboard

Set channel in transaction mode.

Link copied to clipboard

Set channel in transaction mode.

Link copied to clipboard
data class UnboundExchange(val destination: String, val source: String, val routingKey: String, val arguments: Table)

Unbind an exchange from another exchange.

Link copied to clipboard

Unbind an exchange from another exchange.

Link copied to clipboard
data class UnboundQueue(val queue: String, val exchange: String, val routingKey: String, val arguments: Table)

Unbinds a queue from an exchange.

Link copied to clipboard

Unbinds a queue from an exchange.

Functions

Link copied to clipboard

Binds an exchange using a BoundExchangeBuilder block.

Link copied to clipboard

Binds a queue using a BoundQueueBuilder block.

Link copied to clipboard
Link copied to clipboard

Controls flow using a ControlledFlowBuilder block.

Link copied to clipboard

Declares an exchange using a DeclaredExchangeBuilder block.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Declares QoS settings using a DeclaredQosBuilder block.

Link copied to clipboard

Declares a queue using a DeclaredQueueBuilder block.

Link copied to clipboard

Deletes an exchange using a DeletedExchangeBuilder block.

Link copied to clipboard

Deletes a queue using a DeletedQueueBuilder block.

Link copied to clipboard

Fetches a message using a FetchedMessageBuilder block.

Link copied to clipboard

Publishes a message using a PublishedMessageBuilder block.

Link copied to clipboard

Purges a queue using a PurgedQueueBuilder block.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Selects confirm mode using a SelectedConfirmModeBuilder block.

Link copied to clipboard
Link copied to clipboard

Unbinds an exchange using a UnboundExchangeBuilder block.

Link copied to clipboard

Unbinds a queue using a UnboundQueueBuilder block.