Channel
Thread-safe access to a RabbitMQ Channel
Attributes
- Source
- Client.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Attributes
- Source
- Client.scala
Attributes
- Source
- Client.scala
Attributes
- Source
- Client.scala
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
Attributes
- Source
- Client.scala
Returns the number of consumers on a queue. This method assumes the queue exists. If it doesn't, the channel will be closed with an exception.
Returns the number of consumers on a queue. This method assumes the queue exists. If it doesn't, the channel will be closed with an exception.
Value parameters
- queue
-
the name of the queue
Attributes
- Returns
-
the number of consumers
- Source
- Client.scala
Attributes
- Source
- Client.scala
Attributes
- Source
- Client.scala
Returns the number of messages in a queue ready to be delivered to consumers. This method assumes the queue exists. If it doesn't, the channels will be closed with an exception.
Returns the number of messages in a queue ready to be delivered to consumers. This method assumes the queue exists. If it doesn't, the channels will be closed with an exception.
Value parameters
- queue
-
the name of the queue
Attributes
- Returns
-
the number of messages in ready state
- Source
- Client.scala
Attributes
- Source
- Client.scala
Attributes
- Source
- Client.scala
Attributes
- Source
- Client.scala
Purges the contents of the given queue.
Purges the contents of the given queue.
Value parameters
- queue
-
the name of the queue
Attributes
- Returns
-
purge-confirm if the purge was executed successfully
- Source
- Client.scala
Attributes
- Source
- Client.scala
Declare a queue
Declare a queue
Value parameters
- autoDelete
-
True if we are declaring an autodelete queue (server will delete it when no longer in use)
- durable
-
True if we are declaring a durable queue (the queue will survive a server restart)
- exclusive
-
Exclusive to this connection
- queue
-
Name of the queue. If left empty, a random queue name is used
Attributes
- Returns
-
The name of the created queue
- Source
- Client.scala
Check if a queue exists
Check if a queue exists
Value parameters
- queue
-
Name of the queue.
Attributes
- Returns
-
a declaration-confirm method to indicate the queue exists
- Source
- Client.scala
Delete a queue
Delete a queue
Value parameters
- ifEmpty
-
True if the queue should be deleted only if empty
- ifUnused
-
True if the queue should be deleted only if not in use
- queue
-
Name of the queue
Attributes
- Source
- Client.scala