ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » Copying a Specified Number of Messages from a Queue to Grid

Post new topic  Reply to topic
 Copying a Specified Number of Messages from a Queue to Grid « View previous topic :: View next topic » 
Author Message
VijayGoparaju`
PostPosted: Thu Sep 11, 2008 12:27 am    Post subject: Copying a Specified Number of Messages from a Queue to Grid Reply with quote

Acolyte

Joined: 26 Aug 2008
Posts: 72

Hello,

I have a requirement, I want to compare some messages in a queue to particular messages and if matched then I have to display those messages in a Grid.I am getting the messages from the Queue but not able to put them in the Grid. I am using .NET Windows Application.
I have opened the Queue as:
queue = queueManager.AccessQueue( txtQueue1.Text, MQC.MQOO_BROWSE | MQC.MQOO_FAIL_IF_QUIESCING );

Please Help Me,
Vijay...
Back to top
View user's profile Send private message
bower5932
PostPosted: Thu Sep 11, 2008 2:29 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

What kind of error are you getting when you attempt to put the message?


If the line of code you have is what you are using to open the queue, you don't want to put browse on the queue. You probably want output.

I'd strongly suggest that you go look at some of the samples that put messages and use the same options that they do to open the queue.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Copying a Specified Number of Messages from a Queue to Grid
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.