You need to compare what is comparable. You cannot compare the browse to the destructive get while running both. If you are running both, the messages you are trying to browse are being consumed right away and you have a hard time browsing anything. On top of that you are scanning the queue every 5 seconds for the browse cursor to refresh... not ideal at the message rate you're seeing...
On the other hand, I would not trust the encoding.default to transform the bytes to a string... Check the message's ccsid...
If the message format is MQFMT_STRING, let MQ do the conversion to string by casting to a TextMessage...
Hope it helps...
------------------------------
Francois Brandelik
------------------------------
Original Message:
Sent: Fri September 30, 2022 02:10 AM
From: Ram Subba Rao Chalamalasetti
Subject: QueueBrowser vs MessageConsumer
As Andy was saying the numbers which you are mentioning are way too low for both BROWSE & GET. What is the size of the message and how are you calculating the time ?
------------------------------
Ram Subba Rao Chalamalasetti
------------------------------