Frends.IBMMQ.PeekMessage

Frends Task to peek messages from IBM MQ queues.

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

If set to true, message contents are returned as a byte array.

Return field name is MessageBytes instead of Message.

Default: False Example: false

GetMessageProperties : Boolean

Return Message properties in addition to the actual message.

Default: True Example: true

GetMessageDescriptor : Boolean

Return Message descriptor information in addition to the actual message.

Default: False Example: false

ParseRFH2Header : Boolean

Return and strip RFH2 headers from the beginning of the message so that they won't be seen in the actual message.

RFH2 headers may be present in the message if the sender has written them.

This can be set to true with no ill effect even if the message doesn't have RFH2 headers.

Default: False Example: false

Task Result

Name
Description

Success : Boolean

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

MessageFound : Boolean

Message found from the queue? Example: true

Data : QueueMessage

Message data. Example: { Message = "Hello", MessageBytes = null, MessageDescriptor = null, MessageProperties = null, RFH2Headers = null }

Error : Error

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

Task Changelog

Changelog for Task Frends.IBMMQ.PeekMessage.

[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-24

Added

  • Initial implementation

Last updated

Was this helpful?