package util
- Alphabetic
- Public
- All
Type Members
-
class
AmqpClient
extends AnyRef
An AMQP client simplifying some of the common interactions with AMQP brokers.
An AMQP client simplifying some of the common interactions with AMQP brokers. It handles correctly cases in which the broker is not reachable at the time operations are done, waiting for a connection to be established first.
-
trait
BaseAmqpProducerStashActor
extends Actor with Stash
A trait that extends an AMQP publisher and implements a common pattern where all received messages are stashed until the underlying producer is created and connected.
A trait that extends an AMQP publisher and implements a common pattern where all received messages are stashed until the underlying producer is created and connected.
Mixing in this class requires defining the
producerConnectedmethod that should contain all the logic of publishing to AMQP and can assume all is ready for publishing, as well as defining thesetupAmqpmethod which should create the producer actor. Another aspect of using this trait is that instead of using "context.become(newReceive)", one should use "stashedContextBecome(newReceive)" so that producer disconnected handling behaviour is not lost while changing context. -
trait
RabbitMQUtilAsync
extends AnyRef
Inheriting from this trait provides useful methods to interact with RabbitMQ using akka Actors.
Inheriting from this trait provides useful methods to interact with RabbitMQ using akka Actors.
- Annotations
- @deprecated
- Deprecated
(Since version 0.3.0) Classes mixing in RabbitMQUtilAsync should instead use an AmqpClient instance
Value Members
- object BaseAmqpProducerStashActor
-
object
InstanceLoader
Utilities for loading objects and instantiate classes using reflection.