|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Get all messages from QUEUE? |
« View previous topic :: View next topic » |
Author |
Message
|
Nroblex |
Posted: Thu Apr 24, 2008 3:41 am Post subject: Get all messages from QUEUE? |
|
|
Novice
Joined: 15 Apr 2008 Posts: 11
|
Hello profs!
As a newbie I wonder how to get all messages from the MQQueue. I know the queuename, queuemanager etc.
I am writing an applicaion in C# and I use the client to connect to a IBM MQ server, and on this server there will be XML-files for me to get.
I Would like to get all the messages from the queue, how do I do that?
Many Thanks in Advance
//Nroblex |
|
Back to top |
|
 |
Vitor |
Posted: Thu Apr 24, 2008 3:45 am Post subject: Re: Get all messages from QUEUE? |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Nroblex wrote: |
I am writing an applicaion in C# and I use the client to connect to a IBM MQ server, and on this server there will be XML-files for me to get. |
No there won't - there will be messages, which may or may not contain XML documents.
Nroblex wrote: |
I Would like to get all the messages from the queue, how do I do that? |
Keep reading the queue until you've got them all.
Any of the sample code or the APG will get you started on this. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Apr 24, 2008 3:46 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Yes.
You write an application.
It uses the client to connect to IBM MQ Server.
It uses the client to open a queue.
It uses the client to get the messages.
It closes the queue.
As a newbie, you are of course spending most of your time reading the documentation. _________________ I am *not* the model of the modern major general. |
|
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
|
|
|
|