object AmqpSink
- Source
- AmqpSink.scala
- Alphabetic
- By Inheritance
- AmqpSink
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def create(settings: AmqpWriteSettings): Sink[WriteMessage, CompletionStage[Done]]
Creates an
AmqpSink
that acceptsWriteMessage
elements.Creates an
AmqpSink
that acceptsWriteMessage
elements.This stage materializes to a
CompletionStage
ofDone
, which can be used to know when the Sink completes, either normally or because of an amqp failure. - def createReplyTo(settings: AmqpReplyToSinkSettings): Sink[WriteMessage, CompletionStage[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
CompletionStage
ofDone
, which can be used to know when the Sink completes, either normally or because of an amqp failure. - def createSimple(settings: AmqpWriteSettings): Sink[ByteString, CompletionStage[Done]]
Creates an
AmqpSink
that acceptsByteString
elements.Creates an
AmqpSink
that acceptsByteString
elements.This stage materializes to a
CompletionStage
ofDone
, which can be used to know when the Sink completes, either normally or because of an amqp failure.