Package

akka.stream.alpakka

ironmq

Permalink

package ironmq

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ironmq
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Codec extends AnyRef

    Permalink
  2. class ConfigIronMqSettings extends IronMqSettings

    Permalink
  3. class IronMqClient extends AnyRef

    Permalink

    An IronMq client based on Akka-http.

    An IronMq client based on Akka-http.

    This client provide a subset of the operation you can do by the IronMQ protocol. It is not intended to be used by the final user but as internal API. Still it could be used to create/list/delete queues if needed.

  4. class IronMqPullStage extends GraphStage[SourceShape[CommittableMessage]]

    Permalink

    This stage will fetch messages from IronMq and buffer them internally.

    This stage will fetch messages from IronMq and buffer them internally.

    It is implemented as a timed loop, each invocation will fetch new messages from IronMq if the amount of buffered messages is lower than ConsumerSettings.bufferMinSize.

    The frequency of the loop is controlled by ConsumerSettings.fetchInterval while the amount of time the client is blocked on the HTTP request waiting for messages is controlled by ConsumerSettings.pollTimeout.

    Keep in mind that the IronMq time unit is the second, so any value below the second is considered 0.

  5. class IronMqPushStage extends GraphStage[FlowShape[PushMessage, Future[Ids]]]

    Permalink

    It is a very trivial IronMQ push stage.

    It is a very trivial IronMQ push stage. It push the message to IronMq as soon as they are pushed to this Stage.

    Because of that it does not guarantee the order of the produced messages and does not apply any backpressure. A more sophisticated implementation will buffer the messages before pushing them and allow only a certain amount of parallel requests.

  6. abstract class IronMqSettings extends AnyRef

    Permalink

    IronMQ settings.

    IronMQ settings. To a detailed documentation please refer to the reference.conf.

  7. case class Message(messageId: Id, body: String, noOfReservations: Int) extends Product with Serializable

    Permalink

    The message consumed from IronMq.

    The message consumed from IronMq.

    messageId

    The unique id of the message.

    body

    The pushed message content.

    noOfReservations

    It is the count of how many time the message has been reserved (and released or expired) previously

  8. case class PushMessage(body: String, delay: FiniteDuration = Duration.Zero) extends Product with Serializable

    Permalink
  9. case class Queue(name: Name) extends Product with Serializable

    Permalink

    Simplified representation of the IronMq queue.

    Simplified representation of the IronMq queue.

    name

    The name associated with this Queue.

  10. case class Reservation(messageId: Id, reservationId: Id) extends Product with Serializable

    Permalink

    Represent a message reservation.

    Represent a message reservation. It is used when you need to delete or release a reserved message. It is obtained from a ReservedMessage by message id and reservation id.

    messageId

    The previously reserved message Id.

    reservationId

    The reservation id

  11. case class ReservedMessage(reservationId: Id, message: Message) extends Product with Serializable

    Permalink

    The message reserved from IronMq.

    The message reserved from IronMq.

    This message has been ask to be reserved from IronMq. It contains both the message itself and the reservation id.

    reservationId

    The reservation id needed to release or delete the message.

    message

    The fetched message.

  12. implicit class RichJavaDuration extends AnyRef

    Permalink

    This is a utility implicit class to allow convert a java.time.Duration in a FiniteDuration.

Value Members

  1. object Codec extends Codec

    Permalink
  2. object ConfigIronMqSettings

    Permalink
  3. object IronMqClient

    Permalink
  4. object IronMqPullStage

    Permalink
  5. object IronMqSettings

    Permalink
  6. object Message extends Serializable

    Permalink
  7. object PushMessage extends Serializable

    Permalink
  8. object Queue extends Serializable

    Permalink
  9. object Reservation extends Serializable

    Permalink
  10. package javadsl

    Permalink

    This implicit classes allow to convert the Committable and CommittableMessage between scaladsl and javadsl.

  11. package scaladsl

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped