For the complete documentation index, see llms.txt. This page is also available as Markdown.

Send

Task for sending Advanced Message Queuing Protocol = AMQP messages.

Task version: 2.0.0

Required Frends version: 5.7+

Required .NET version: 8.0

Compatible Agents: Crossplatform

Source code: https://github.com/FrendsPlatform/Frends.AMQP

Task Parameters

Name
Description

Message : AmqpMessage

AMQP message string.

Default: - Example: Example message.

QueueOrTopicName : String

Name of target queue or topic.

Default: - Example: Queue

MessageProperties : AmqpProperties

The Immutable properties of the Message.

Default: - Example: AbsoluteExpiryTime, ContentEncoding, ContentType, CorrelationId, CreationTime, GroupId, GroupSequence, ReplyToGroupId, ReplyTo, Subject, UserId, To

ApplicationProperties : ApplicationProperty[]

Application properties section of an AMQP messages.

Default: - Example: foo, bar

Task Result

Name
Description

Success : Boolean

True if Message was sent successfully. Example: true

Error : Error

Error information when the sending message fails and ThrowErrorOnFailure option is set to false. Contains detailed error message and additional debugging information. Example: { "Message": "Sending failed", "AdditionalInfo": { "ExceptionType": "ArgumentException" } }

Task Changelog

Changelog for Task Frends.AMQP.Send.

[2.0.0] - 2025-09-24

Added

  • New Connection tab with AMQP connection parameters.

  • ThrowErrorOnFailure option in Options tab with default value false

  • ErrorMessageOnFailure option in Options tab for custom error messages

  • Error object in Result with Message and AdditionalInfo properties for detailed error reporting

Changed

  • [Breaking] Moved Properties from AmqpMessageProperties tab to Input tab, renamed to MessageProperties

  • [Breaking] Moved ApplicationProperties from AmqpMessageProperties tab to Input tab

  • [Breaking] Moved BusUri from Input tab to Connection tab

  • [Breaking] Moved SearchClientCertificateBy from Options tab to Connection tab, renamed to ClientCertificate

    • Enum value DontUseCertificate renamed to None

  • [Breaking] Moved Issuer from Options tab to Connection tab, renamed to CertificateIssuer

  • [Breaking] Moved PfxFilePath from Options tab to Connection tab, renamed to CertificateFilePath

  • [Breaking] Moved PfxPassword from Options tab to Connection tab, renamed to CertificatePassword

  • [Breaking] Moved DisableServerCertValidation from Options tab to Connection tab, renamed to DisableServerCertificateValidation

  • Improved error handling with structured Error object in Result

[1.0.1] - 2022-08-26

Changed

  • Dependencies update AMQPNetLite Version=2.2.0 to 2.4.4 Newtonsoft.Json Version=12.0.3 to 13.0.1 System.ComponentModel.Annotations 4.6.0 to 5.0.0

[1.0.0] - 2022-02-17

Added

  • Initial implementation

Last updated

Was this helpful?