Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I need the properties of a message at the top of a queue(to check if i should pop it or not). The message has been pushed by someone else thus i dont have the message handler for the message. Also poping the message and pushing it back is not an option

I am using MQseries for the connection to the queue. Is there some methord in MQseries that will give a handle for the message at the top of the queue. I can also use some other library but would prefer to use MQseries

  • Comment on Get Hmsg for a message already present in a queue using MQSeries

Replies are listed 'Best First'.
Re: Get Hmsg for a message already present in a queue using MQSeries
by MidLifeXis (Monsignor) on Dec 10, 2015 at 13:42 UTC

    Is it safe to assume that you have investigated the use of the Perl MQSeries module?

    --MidLifeXis

      It is the first time i am using MQSeries. I have used basic functions like Mconn and searched other functions on cpan. But i am unable to use other functions like MQSeries::Message::MsgDesc as they require message handler