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 » WebSphere Message Broker (ACE) Support » MQGET with wait option

Post new topic  Reply to topic
 MQGET with wait option « View previous topic :: View next topic » 
Author Message
Prashant_MQ
PostPosted: Tue Mar 21, 2006 11:27 pm    Post subject: MQGET with wait option Reply with quote

Apprentice

Joined: 07 Feb 2006
Posts: 28

Hi All,

Scenario is:

CLIENT puts the message on the SERVER and down the line does a MQGET with wait option.

Does it mean CLIENT stays connected to SERVER.
Does this mean this is synchronous communication.
Does CLIENT poll for the message on the queue whilst it waits.


Thanks
prashant
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Tue Mar 21, 2006 11:31 pm    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

yes
yes, client-server is always synchronous
no, it will wait and will be posted by the server when a message is available or when the waittime has expired (rc=2033)

you may want to check for client triggering if this is an option for you....
_________________
Regards, Butcher
Back to top
View user's profile Send private message
Prashant_MQ
PostPosted: Tue Mar 21, 2006 11:59 pm    Post subject: Reply with quote

Apprentice

Joined: 07 Feb 2006
Posts: 28

Thanks Butcher.

One more question.

Dont you think implmenting CLIENT-SERVER model is not a recommended design.Because the whole purpose of Message queueing is defeated,since I have always been under the impression that MQ is predominantly popular for its distinct advantage being a async communication.

Or is it that there are some business reasons which force this implementation.If so,can you please enlighten me with few examples.

Thanks
Prashant
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Wed Mar 22, 2006 12:02 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

it depends what you want to archieve. i can not explain all possible business solutions here and explain if it is best to use server-server or client-server.

why dont you explain your business needs and how you plan to set it up, then we can give you some comments......
_________________
Regards, Butcher
Back to top
View user's profile Send private message
Prashant_MQ
PostPosted: Wed Mar 22, 2006 12:13 am    Post subject: Reply with quote

Apprentice

Joined: 07 Feb 2006
Posts: 28

unfortunately the only reason that we have got is that the CLIENT-SERVER model does not require any MQ servicing program to be installed on CLIENT machine thereby reducing the cost.Also that CLIENT-SERVER model is effective when there are not more than 50 clients connected to SERVER at any point in time.Also note that the transactions in question are "enquiry" type transactions.Does this make any difference.

Thanks
Prashant
Back to top
View user's profile Send private message
Nigelg
PostPosted: Wed Mar 22, 2006 12:47 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

You should be able to connect hundreds or possibly thousands of clients to a (v5.3+) qmgr.
_________________
MQSeries.net helps those who help themselves..
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 » WebSphere Message Broker (ACE) Support » MQGET with wait option
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.