Class AmqpSourceStage
Connects to an AMQP server upon materialization and consumes messages from it emitting them into the stream. Each materialized source will create one connection to the broker. As soon as an IncomingMessage is sent downstream, an ack for it is sent to the broker.
Inheritance
Akka.Streams.Stage.GraphStageWithMaterializedValue<Akka.Streams.SourceShape<CommittableIncomingMessage>, Akka.NotUsed>
AmqpSourceStage
Implements
Akka.Streams.Stage.IGraphStageWithMaterializedValue<Akka.Streams.SourceShape<CommittableIncomingMessage>, Akka.NotUsed>
Inherited Members
Akka.Streams.Stage.GraphStage<Akka.Streams.SourceShape<Akka.Streams.Amqp.RabbitMq.Dsl.CommittableIncomingMessage>>.CreateLogicAndMaterializedValue(Akka.Streams.Attributes)
Akka.Streams.Stage.GraphStageWithMaterializedValue<Akka.Streams.SourceShape<Akka.Streams.Amqp.RabbitMq.Dsl.CommittableIncomingMessage>, Akka.NotUsed>.WithAttributes(Akka.Streams.Attributes)
Akka.Streams.Stage.GraphStageWithMaterializedValue<Akka.Streams.SourceShape<Akka.Streams.Amqp.RabbitMq.Dsl.CommittableIncomingMessage>, Akka.NotUsed>.CreateLogicAndMaterializedValue(Akka.Streams.Attributes)
Akka.Streams.Stage.GraphStageWithMaterializedValue<Akka.Streams.SourceShape<Akka.Streams.Amqp.RabbitMq.Dsl.CommittableIncomingMessage>, Akka.NotUsed>.AddAttributes(Akka.Streams.Attributes)
Akka.Streams.Stage.GraphStageWithMaterializedValue<Akka.Streams.SourceShape<Akka.Streams.Amqp.RabbitMq.Dsl.CommittableIncomingMessage>, Akka.NotUsed>.Named(System.String)
Akka.Streams.Stage.GraphStageWithMaterializedValue<Akka.Streams.SourceShape<Akka.Streams.Amqp.RabbitMq.Dsl.CommittableIncomingMessage>, Akka.NotUsed>.Async()
Akka.Streams.Stage.GraphStageWithMaterializedValue<Akka.Streams.SourceShape<Akka.Streams.Amqp.RabbitMq.Dsl.CommittableIncomingMessage>, Akka.NotUsed>.InitialAttributes
Akka.Streams.Stage.GraphStageWithMaterializedValue<Akka.Streams.SourceShape<Akka.Streams.Amqp.RabbitMq.Dsl.CommittableIncomingMessage>, Akka.NotUsed>.Shape
Akka.Streams.Stage.GraphStageWithMaterializedValue<Akka.Streams.SourceShape<Akka.Streams.Amqp.RabbitMq.Dsl.CommittableIncomingMessage>, Akka.NotUsed>.Module
Namespace: Akka.Streams.Amqp.RabbitMq
Assembly: Akka.Streams.Amqp.RabbitMq.dll
Syntax
public sealed class AmqpSourceStage : GraphStage<SourceShape<CommittableIncomingMessage>>, IGraphStageWithMaterializedValue<SourceShape<CommittableIncomingMessage>, NotUsed>, IGraph<SourceShape<CommittableIncomingMessage>, NotUsed>, IGraph<SourceShape<CommittableIncomingMessage>>
Constructors
| Improve this Doc View SourceAmqpSourceStage(IAmqpSourceSettings, Int32)
Constructor
Declaration
public AmqpSourceStage(IAmqpSourceSettings settings, int bufferSize)
Parameters
Type | Name | Description |
---|---|---|
IAmqpSourceSettings | settings | The source settings |
Int32 | bufferSize | The max number of elements to prefetch and buffer at any given time. |
Fields
| Improve this Doc View SourceDefaultAttributes
Declaration
public static readonly Attributes DefaultAttributes
Field Value
Type | Description |
---|---|
Akka.Streams.Attributes |
Out
Declaration
public readonly Outlet<CommittableIncomingMessage> Out
Field Value
Type | Description |
---|---|
Akka.Streams.Outlet<CommittableIncomingMessage> |
Properties
| Improve this Doc View SourceBufferSize
Declaration
public int BufferSize { get; }
Property Value
Type | Description |
---|---|
Int32 |
InitialAttributes
Declaration
protected override Attributes InitialAttributes { get; }
Property Value
Type | Description |
---|---|
Akka.Streams.Attributes |
Overrides
Akka.Streams.Stage.GraphStageWithMaterializedValue<Akka.Streams.SourceShape<Akka.Streams.Amqp.RabbitMq.Dsl.CommittableIncomingMessage>, Akka.NotUsed>.InitialAttributes
|
Improve this Doc
View Source
Settings
Declaration
public IAmqpSourceSettings Settings { get; }
Property Value
Type | Description |
---|---|
IAmqpSourceSettings |
Shape
Declaration
public override SourceShape<CommittableIncomingMessage> Shape { get; }
Property Value
Type | Description |
---|---|
Akka.Streams.SourceShape<CommittableIncomingMessage> |
Overrides
Akka.Streams.Stage.GraphStageWithMaterializedValue<Akka.Streams.SourceShape<Akka.Streams.Amqp.RabbitMq.Dsl.CommittableIncomingMessage>, Akka.NotUsed>.Shape
Methods
| Improve this Doc View SourceCreateLogic(Attributes)
Declaration
protected override GraphStageLogic CreateLogic(Attributes inheritedAttributes)
Parameters
Type | Name | Description |
---|---|---|
Akka.Streams.Attributes | inheritedAttributes |
Returns
Type | Description |
---|---|
Akka.Streams.Stage.GraphStageLogic |
Overrides
Akka.Streams.Stage.GraphStage<Akka.Streams.SourceShape<Akka.Streams.Amqp.RabbitMq.Dsl.CommittableIncomingMessage>>.CreateLogic(Akka.Streams.Attributes)
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |
Overrides
Implements
Akka.Streams.Stage.IGraphStageWithMaterializedValue<TShape, TMaterialized>
Akka.Streams.IGraph<TShape, TMaterialized>
Akka.Streams.IGraph<TShape>