automorph.transport.amqp.client
package automorph.transport.amqp.client
Members list
Type members
Classlikes
final case class RabbitMqClient[Effect[_]](effectSystem: AsyncEffectSystem[Effect], url: URI, routingKey: String, exchange: String, addresses: Seq[Address], connectionFactory: ConnectionFactory) extends ClientTransport[Effect, Context]
RabbitMQ client message transport plugin.
RabbitMQ client message transport plugin.
Uses the supplied RPC request as AMQP request message body and returns AMQP response message body as a result.
- AMQP request messages are published to the specified exchange using
direct reply-to
mechanism. - AMQP response messages are consumed using
direct reply-to
mechanism and automatically acknowledged.
Type parameters
- Effect
-
effect type
Value parameters
- addresses
-
broker hostnames and ports for reconnection attempts
- connectionFactory
-
AMQP broker connection factory
- effectSystem
-
effect system plugin
- exchange
-
direct non-durable AMQP message exchange name
- routingKey
-
AMQP routing key (typically a queue name)
- url
-
AMQP broker URL (amqp[s]://[username:password@]host[:port][/virtual_host])
Attributes
object RabbitMqClient
Attributes
- Companion
- class
- Supertypes
- Self type
-
RabbitMqClient.type
In this article