Skip to content

XQH is missing get_header() method #3

@andrewkirillov-ibm

Description

@andrewkirillov-ibm

Following dlq_browse.py sample application, I was doing similar, but browsing XMITQ, and so needed to get XQH header from the message.

For DLH we can make it simple by using its get_header() method.

dlh = mq.DLH().get_header(msg)

For XQH samilar does not work, as the class does not provide such method.

A workaround is to it do it this way instead:

xqh = ibmmq.XQH()
xqh.unpack(msg[:104])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions