Frends.IBMMQ.PeekMessage / 2.0.0
Summary
Looks at the message at the head of a queue without removing it, so the queue is unchanged afterwards.
Typical use — deciding how to route or whether to process before committing to a destructive read
Input parameters.
| Name | Type | Default | Example | Description |
|---|---|---|---|---|
| MessageAsBytes | Boolean |
False |
false |
If set to true, message contents are returned as a byte array. Return field name is MessageBytes instead of Message. |
| GetMessageProperties | Boolean |
True |
true |
Return Message properties in addition to the actual message. |
| GetMessageDescriptor | Boolean |
False |
false |
Return Message descriptor information in addition to the actual message. |
| ParseRFH2Header | Boolean |
False |
false |
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. |