AMQP

Frends.AMQP.Send / 3.0.0

Summary

Publishes a message to an AMQP queue or topic, carrying both the broker-level message properties and your own application properties alongside the body.

Typical use — talking to brokers reached over AMQP where the receiving side routes or filters on properties rather than on body content

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0

Input parameters.

Name Type Default Example Description
Message AmqpMessage Example message.

AMQP message string.

BodyAsString String foobar!

The message body.

QueueOrTopicName String Queue

Name of target queue or topic.

MessageProperties AmqpProperties AbsoluteExpiryTime, ContentEncoding, ContentType, CorrelationId, CreationTime, GroupId, GroupSequence, ReplyToGroupId, ReplyTo, Subject, UserId, To

The Immutable properties of the Message.

MessageId String Guid.NewGuid().ToString() 43c8c21c-f1db-41d6-be68-5b476b24e46d

Message's id.

AbsoluteExpiryTime Nullable<DateTime> 1.1.0001 0.00.00

Message's AbsoluteExpiryTime.

ContentEncoding String UTF8

Message's ContentEncoding.

ContentType String text/plain

Message's ContentType.

CorrelationId String 43c8c21c-f1db-41d6-be68-5b476b24e46d

Message's CorrelationId.

CreationTime Nullable<DateTime> 24.8.2022 12.00.00

Message's CreationTime.

GroupId String 0

Message's GroupId.

GroupSequence UInt32 0 0

Message's GroupSequence.

ReplyToGroupId String 0

Message's ReplyToGroupId.

ReplyTo String 0

Message's ReplyToGroupId.

Subject String foo bar

Message's Subject.

UserId Byte[] 0

Message's UserId.

To String foo

Message's To.

ApplicationProperties ApplicationProperty[] foo, bar

Application properties section of an AMQP messages.

An unhandled error has occurred. Reload 🗙