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 » General Discussion » Getting a specific message from the queue

Post new topic  Reply to topic
 Getting a specific message from the queue « View previous topic :: View next topic » 
Author Message
vivek.gargMQ
PostPosted: Thu Oct 19, 2006 11:29 pm    Post subject: Getting a specific message from the queue Reply with quote

Novice

Joined: 12 Oct 2006
Posts: 19

Hi,

Can anybody tell me? How to get a specific message from the queue?
for example reading 3rd message from a queue.
or

reading message from the queue by specifying its correlation id or message id.


Regards,
Vivek
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Mr Butcher
PostPosted: Fri Oct 20, 2006 12:01 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

did you read the application programmers guide and reference?
did you check the samples?
_________________
Regards, Butcher
Back to top
View user's profile Send private message
vivek.gargMQ
PostPosted: Fri Oct 20, 2006 12:04 am    Post subject: Getting a specific message from the queue Reply with quote

Novice

Joined: 12 Oct 2006
Posts: 19

Yes, I have read quite few.
but the question is how do I specify message id to retrieve a specific message...

Can I specify my own message id or can i read message header information.. without getting message.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Vitor
PostPosted: Fri Oct 20, 2006 12:17 am    Post subject: Re: Getting a specific message from the queue Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

vivek.gargMQ wrote:
Yes, I have read quite few.


Then you'll know that you can do exactly what you're describing!

In fact all you're describing. The only word of caution I have is this:

vivek.gargMQ wrote:
Can I specify my own message id


If you mean "can I specify my message id when I get the message" then fine. If you mean "Can I specify a message id when I put the mesage" do not do this! It is a really bad thing to do & will cause you all sorts of pain & problems.

Aside from that note of caution, the rest is like falling off a log. I'd question your need to do some of it but hey - those funky requirements eh?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Getting a specific message from the queue
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.