Frends.IBMMQ.PutMessage

Put message to IBM MQ as string or byte array.

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.IBMMQ

Task Parameters

Name
Description

MessageAsBytes : Boolean

Content as a byte array (true) or string (false).

Default: False Example: false

MessageContentBytes : Byte[]

Message content as byte array.

Default: - Example: {72, 101, 108, 108, 111, 32, 70, 114, 101, 110, 100, 115, 33}

MessageContent : String

Message content as byte array.

Default: - Example: {72, 101, 108, 108, 111, 32, 70, 114, 101, 110, 100, 115, 33}

CharacterSet : CharacterSet

Character set for the message.

Possible values:

  • UTF8: Character set for the message.

  • ISO88591: Character set for the message.

  • WindowsLatin1: Character set for the message.

  • Unicode: Character set for the message.

  • Other: Character set for the message.

  • Automatic: Character set for the message.

Default: 0 Example: CharacterSet.UTF8

CharacterSetValue : Nullable<Int32>

Character set for the message as an integer code value (CCSID).

Can be left empty to use the queue manager default.

Default: - Example: 1208

Properties : MessageProperty[]

Individual message properties as key-value pairs.

Some values are derived and cannot be set explicitly.

Default: - Example: [{ "Name": "ReplyToQ", "Value": "DEV.QUEUE.2" }]

Descriptors : MessageDescriptorProperty[]

Message descriptors (MQMD) as key-value pairs.

Some values are derived and cannot be set explicitly.

Default: - Example: [{ "Name": "Format", "Value": "MQSTR" }]

RFH2Headers : RFH2HeaderProperty[]

RFH2 header properties for the message. Can be left empty to use defaults.

NB: Only one NameValueData field is allowed.

Default: - Example: [{ "Name": "NameValueData", "Value": "TestDataÄÄ" }]

Task Result

Name
Description

Success : Boolean

Gets a value indicating whether the Task was executed successfully. Example: true

Error : Error

Error that occurred during task execution. Example: object { string Message, Exception AdditionalInfo }

Task Changelog

Changelog for Task Frends.IBMMQ.PutMessage.

[2.0.0] - 2026-04-27

Added

Breaking Changes

  • Removed Ssl parameter tab. All SSL options have been moved to the Options parameter tab.

New Features

  • Added certificate source configuration via CertSource property (CertificateSource.Store or CertificateSource.File).

  • Added support for loading client certificates from Windows/Linux certificate store via StoreType property (SslStoreType.User or SslStoreType.System).

  • Added support for loading client certificates from a .p12/.pfx file via CertificatePath and CertificatePassword properties.

  • Added error handler with ThrowErrorOnFailure and ErrorMessageOnFailure options for consistent error handling.

[1.0.0] - 2024-01-16

Added

  • Initial implementation

Last updated

Was this helpful?