Copying the specified number of messages in Queues

Joined
Aug 26, 2008
Messages
3
Reaction score
0
Hello All,

I am searching for a specified message in the Queues in Mq-Series.Its just checking the First message it is not going to the next messages.I am using .NET for coding.
I have accessed the queue with this:

queue = queueManager.AccessQueue( txtSearchQueue.Text, MQC.MQOO_FAIL_IF_QUIESCING | MQC.MQOO_BROWSE );

Searched the First message with this:
queueGetMessageOptions.Options = MQC.MQGMO_BROWSE_FIRST;

Searched the Next messages with this:
queueGetMessageOptions.Options = MQC.MQGMO_BROWSE_NEXT;
The cursor is struck at first messages its not moving to the next message.Please tell me how to move the cursor position to next record.
Can any one help me where I did the wrong thing.
Thanks In Advance,
Vijay.G
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top