QueueConsumer
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
QueueConsumer.type
Members list
Type members
Classlikes
Represents an exchange declaration for RabbitMQ.
Represents an exchange declaration for RabbitMQ.
Value parameters
- exchangeType
-
The type of the exchange (e.g., "direct", "topic", "headers").
- name
-
The name of the exchange.
- routingKey
-
An optional routing key for binding.
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Represents a queue configuration including its name, associated exchanges, and an optional routing key.
Represents a queue configuration including its name, associated exchanges, and an optional routing key.
Value parameters
- exchanges
-
A list of exchanges associated with the queue.
- name
-
The name of the queue.
- routingKey
-
An optional routing key for message routing.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Starts the queue consumer by running the Akka Stream graph.
Starts the queue consumer by running the Akka Stream graph.
Type parameters
- F
-
The effect type used by the MessageHandler.
Value parameters
- messageHandler
-
A handler for processing messages based on their type.
- provider
-
The AMQP connection provider used to connect to RabbitMQ.
- queues
-
A list of queues to consume from, each with its associated configuration.
- system
-
The Akka actor system used for running the stream.
Attributes
- Returns
-
A RunnableGraph that can be executed to start the consumer.