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 » READING MESSAGE FROM THE QUEUE

Post new topic  Reply to topic
 READING MESSAGE FROM THE QUEUE « View previous topic :: View next topic » 
Author Message
apardeshi
PostPosted: Mon Oct 14, 2013 11:55 am    Post subject: READING MESSAGE FROM THE QUEUE Reply with quote

Newbie

Joined: 14 Oct 2013
Posts: 1

Hi,

I have recently stated working on MQ. I'm using C# 3.5 to read and write messages.
I have requirement, need to read messages from one of the queue after sometime or may be next day. And this queue might contain other messages too. So i need to find only those messages which is created by me. So Any option is there, i can set while creating new messages and filter out my messages only after some time or next day when i try to read this queue.

it is possible i can read message with message or corelationids.

If you have any example/Sample , please send it me.

Thanks in advance..


Amit
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Oct 14, 2013 2:09 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

Proper terminology will help you greatly.

Messages are put or MQPUT to queues; messages are gotten or consumed or MQGET from queues.

Yes, you can MQGET a particular message from a queue based on MsgId, CorrelId, GroupId.

Search here or Google for MQ+matching options. This is nicely documented in the Application Programming Reference, and Application Programming Guide, or the InfoCenter equivalents. Search here or Google for MQ+sample programs.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Tue Oct 15, 2013 5:13 pm    Post subject: Re: READING MESSAGE FROM THE QUEUE Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2492
Location: Melbourne, Australia

apardeshi wrote:
Hi,
I have recently stated working on MQ. I'm using C# 3.5 to read and write messages.
I have requirement, need to read messages from one of the queue after sometime or may be next day. And this queue might contain other messages too. So i need to find only those messages which is created by me. So Any option is there, i can set while creating new messages and filter out my messages only after some time or next day when i try to read this queue.... Amit

I hope you have told everyone else using the queue that they are not to get your messages! Seriously, this could be a case for using more than one local queue for more than one user or different types of messages.
_________________
Glenn
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 » IBM MQ API Support » READING 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.