|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
READING MESSAGE FROM THE QUEUE |
« View previous topic :: View next topic » |
Author |
Message
|
apardeshi |
Posted: Mon Oct 14, 2013 11:55 am Post subject: READING MESSAGE FROM THE QUEUE |
|
|
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 |
|
 |
bruce2359 |
Posted: Mon Oct 14, 2013 2:09 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 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 |
|
 |
gbaddeley |
Posted: Tue Oct 15, 2013 5:13 pm Post subject: Re: READING MESSAGE FROM THE QUEUE |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|