Package

eu.shiftforward.adstax

util

Permalink

package util

Visibility
  1. Public
  2. All

Type Members

  1. class AmqpClient extends AnyRef

    Permalink

    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.

  2. trait BaseAmqpProducerStashActor extends Actor with Stash

    Permalink

    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 producerConnected method that should contain all the logic of publishing to AMQP and can assume all is ready for publishing, as well as defining the setupAmqp method 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.

  3. trait RabbitMQUtilAsync extends AnyRef

    Permalink

    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

  1. object BaseAmqpProducerStashActor

    Permalink
  2. object InstanceLoader

    Permalink

    Utilities for loading objects and instantiate classes using reflection.

  3. package rpc

    Permalink

Ungrouped