|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Whether I can use single Queue for PUT and GET |
« View previous topic :: View next topic » |
Author |
Message
|
sslowell1234 |
Posted: Tue Mar 19, 2002 7:00 am Post subject: |
|
|
Newbie
Joined: 17 Mar 2002 Posts: 4
|
Hi,
Whether I can use a Single Queue for both PUT and GET. I found out in examples only they are enabling anyone at a time.
What is the use of the Queue with only PUT or GET option. We wont be able to get a message from a PUT only enabled Queue and vice-versa. right? If I am wrong please advise me.
Thanks |
|
Back to top |
|
 |
mrlinux |
Posted: Tue Mar 19, 2002 7:19 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
If you have one application on HOST_A and another on HOST_B that need to communicate.
Well typically you have an application to generate data that gets PUT in the queue and you have another to GET and process the data.
_________________
Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
[ This Message was edited by: mrlinux on 2002-03-19 07:21 ] |
|
Back to top |
|
 |
mqonnet |
Posted: Tue Mar 19, 2002 7:33 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
There you go with your answers...
--Whether I can use a Single Queue for both PUT and GET.
Yes. You sure can.
--I found out in examples only they are enabling anyone at a time.
Depends on what the examples are trying to achieve.
--What is the use of the Queue with only PUT or GET option.
We wont be able to get a message from a PUT only enabled Queue and vice-versa. right? If I am wrong please advise me.
You are right. If you have a queue which is put enabled, then only you can put a message and so does go for the Get too. As for the usage is concerned. Consider an Application processing center. IN this scenario, the applications are submitted during the course of the day and then eventually processed at the end of the day or after a specified time is elapsed. And hence, we would not want any one to read the queue, until this time, but just put messages on the queue. So, we enable PUTs and disable GETs.
This might not be the most appropriate example, but sure does help.
Cheers.
Kumar
_________________ IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator |
|
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
|
|
|
|