automorph.transport.amqp.client.RabbitMqClient
See theRabbitMqClient companion object
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
-
Constructor
-
Creates a RabbitMQ client message transport plugin.
-
See also
-
-
Companion
-
object
-
Graph
-
-
Supertypes
-
trait Serializable
class Object
trait Matchable
class Any
Show all
Members list
Sends a request to a remote endpoint and retrieves the response.
Sends a request to a remote endpoint and retrieves the response.
An optional request context is used to supply additional information needed to send the request.
Value parameters
-
mediaType
-
message media (MIME) type.
-
requestBody
-
request message body
-
requestContext
-
request context
-
requestId
-
request correlation identifier
Attributes
-
Returns
-
response message and context
-
Definition Classes
-
Closes this client transport freeing the underlying resources.
Closes this client transport freeing the underlying resources.
Attributes
-
Returns
-
nothing
-
Definition Classes
-
Creates default request context based on the configuration of this client transport.
Creates default request context based on the configuration of this client transport.
Attributes
-
Returns
-
request context based on the configuration of this client transport
-
Definition Classes
-
Initializes this client to invoke remote APIs.
Initializes this client to invoke remote APIs.
Attributes
-
Returns
-
active RPC server
-
Definition Classes
-
Sends a request to a remote endpoint without waiting for a response.
Sends a request to a remote endpoint without waiting for a response.
An optional request context is used to supply additional information needed to send the request.
Value parameters
-
mediaType
-
message media (MIME) type.
-
requestBody
-
request message body
-
requestContext
-
request context
-
requestId
-
request correlation identifier
Attributes
-
Returns
-
nothing
-
Definition Classes
-