ibm-messaging / mq-golang

Calling IBM MQ from Go applications
Apache License 2.0
168 stars 60 forks source link

Support for MQRFH2 #213

Open sj010203 opened 1 month ago

sj010203 commented 1 month ago

MQRFH2 support can be added to this? Don't see in existing stuff.

ibmmqmet commented 1 month ago

By coincidence, I was already adding an RFH2 processor for something else I was working on. It's in today's v5.6.1 release.

But for most applications, it's much easier to use the Message Properties functions (MQCRTMH, MQSETMP etc) instead. The qmgr automatically converts between RFH2 and properties, so explicitly handling an RFH2 is not usually required.