object AmqpSink
- Source
- AmqpSink.scala
- Alphabetic
- By Inheritance
- AmqpSink
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def apply(settings: AmqpWriteSettings): Sink[WriteMessage, Future[Done]]
Creates an
AmqpSink
that acceptsWriteMessage
elements.Creates an
AmqpSink
that acceptsWriteMessage
elements.This stage materializes to a
Future
ofDone
, which can be used to know when the Sink completes, either normally or because of an amqp failure. - def replyTo(settings: AmqpReplyToSinkSettings): Sink[WriteMessage, Future[Done]]
Connects to an AMQP server upon materialization and sends incoming messages to the server.
Connects to an AMQP server upon materialization and sends incoming messages to the server. Each materialized sink will create one connection to the broker. This stage sends messages to the queue named in the replyTo options of the message instead of from settings declared at construction.
This stage materializes to a
Future
ofDone
, which can be used to know when the Sink completes, either normally or because of an amqp failure. - def simple(settings: AmqpWriteSettings): Sink[ByteString, Future[Done]]
Creates an
AmqpSink
that acceptsByteString
elements.Creates an
AmqpSink
that acceptsByteString
elements.This stage materializes to a
Future
ofDone
, which can be used to know when the Sink completes, either normally or because of an amqp failure.