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 » General IBM MQ Support » Questions on WMQ Client in WAN environment

Post new topic  Reply to topic
 Questions on WMQ Client in WAN environment « View previous topic :: View next topic » 
Author Message
dwbchen
PostPosted: Fri Jun 27, 2008 4:15 am    Post subject: Questions on WMQ Client in WAN environment Reply with quote

Newbie

Joined: 27 Jun 2008
Posts: 3

Hi,

I am a newbie to WMQ technology but has to investigate a solution for a client utilizing WMQ in a WAN environment. I have read up on some documentation but am still unclear about a number of aspects on using MQ client in WAN environment.

1. On the client machine with only MQ client installed, when the end user application calls mqput() to add a message to queue on a remote queue manager over WAN, half way through the transmission the link drops off, does this raise an exception to the mqput() call?

2. Now, am I right in saying the end user application will then have to manage the re-sending, as technically, the message in not yet in the queue?

(Sorry if I have already answered my own questions)

3. If this presumption is correct, what would be the advantages then of using MQ client over WAN (apart from it is free), as it would seem in this case MQ can not be utilized to overcome network unreliability issues?

Thanks in Advance for the assistance!
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Fri Jun 27, 2008 5:09 am    Post subject: Re: Questions on WMQ Client in WAN environment Reply with quote

Jedi Knight

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

dwbchen wrote:
Hi,

I am a newbie to WMQ technology but has to investigate a solution for a client utilizing WMQ in a WAN environment. I have read up on some documentation but am still unclear about a number of aspects on using MQ client in WAN environment.

1. On the client machine with only MQ client installed, when the end user application calls mqput() to add a message to queue on a remote queue manager over WAN, half way through the transmission the link drops off, does this raise an exception to the mqput() call?


Yes, most likely a Reason Code of 2009 (MQRC_CONNECTION_BROKEN.

Quote:
2. Now, am I right in saying the end user application will then have to manage the re-sending, as technically, the message in not yet in the queue?


Yes, including reconnecting to the queue manager and opening the queue.

Quote:
(Sorry if I have already answered my own questions)
3. If this presumption is correct, what would be the advantages then of using MQ client over WAN (apart from it is free), as it would seem in this case MQ can not be utilized to overcome network unreliability issues?

Thanks in Advance for the assistance!


The main advantage is a light software footprint and minimal MQ configuration on the client machine.

Many critical applications use MQ client (with persistent messages & syncpoint). As long as the network is reliable, its not normally an issue. If the connection fails mid-stream, generally the client app transaction will back itself out, present an error to the user, and they just simply try again.
_________________
Glenn
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Jun 27, 2008 1:15 pm    Post subject: Re: Questions on WMQ Client in WAN environment Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

gbaddeley wrote:
dwbchen wrote:
Hi,

I am a newbie to WMQ technology but has to investigate a solution for a client utilizing WMQ in a WAN environment. I have read up on some documentation but am still unclear about a number of aspects on using MQ client in WAN environment.

1. On the client machine with only MQ client installed, when the end user application calls mqput() to add a message to queue on a remote queue manager over WAN, half way through the transmission the link drops off, does this raise an exception to the mqput() call?


Yes, most likely a Reason Code of 2009 (MQRC_CONNECTION_BROKEN.


And then you guess if the message made it to the queue or not. You don't know if the connection broke before the message made it to the queue or did it break after the put happened but before the results of that put made it back.
_________________
Peter Potkay
Keep Calm and MQ On
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 » General IBM MQ Support » Questions on WMQ Client in WAN environment
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.