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 » MQ Client connects to 2 different Qmgrs

Post new topic  Reply to topic
 MQ Client connects to 2 different Qmgrs « View previous topic :: View next topic » 
Author Message
Twilight
PostPosted: Tue Jul 21, 2009 7:27 am    Post subject: MQ Client connects to 2 different Qmgrs Reply with quote

Apprentice

Joined: 04 Aug 2004
Posts: 49

HI.
Our development folks to use MQ client to GET from Qmgr A and PUT into
Qmgr B instead having own qmgr for msg rerouting.
Is any kind of Pro/Con or no..no stuff for this attempt ?
please advice me.[color=green]
[/color]
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jul 21, 2009 7:41 am    Post subject: Re: MQ Client connects to 2 different Qmgrs Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Twilight wrote:
Is any kind of Pro/Con or no..no stuff for this attempt ?


It makes the application complex and inefficent for no good reason. It also means the application has to know a lot more about the architecture of queue managers it's running on than otherwise. This makes porting the application, or reworking the architecture, more difficult than it needs to be.

You also have to wonder about the cost effictiveness of buying expensive messaging software, with the ability to route messages, then doing the routing in the application.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Twilight
PostPosted: Tue Jul 21, 2009 7:56 am    Post subject: Reply with quote

Apprentice

Joined: 04 Aug 2004
Posts: 49

Yes. it becomes very complicate client programming.
Also, it may cause stability issue in terms of "Data "integrity".
I believe MQ client is not XA compatible so 2 phase commit is not allowed into both Qmr A and B.
_________________
WMQ/WMQI/WBI Consultant
Toronto, Canada
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jul 21, 2009 8:03 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Twilight wrote:
Yes. it becomes very complicate client programming.


Yes it does.

Twilight wrote:
Also, it may cause stability issue in terms of "Data "integrity".


It certainly could.

Twilight wrote:
I believe MQ client is not XA compatible so 2 phase commit is not allowed into both Qmr A and B.


Not the standard client, but the extended client is specifically for XA coordination over client connections.

You couldn't do 2-phase into 2 queue managers anyway as the connections would be in different threads.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jul 21, 2009 8:10 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

On the "Pro" side, you are very very isolated from a security point of view.

The only data that passes from one queue manager to the other is exactly and only the data that the application allows through.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Jul 21, 2009 8:24 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

MQ imposes no restriction on on a client app MQCONNecting to multiple qmgrs. MQ does not support MQCMIT/MQBACK UofW with multiple qmgrs. As mentioned earlier, the connection handle (HCONN) retuned is specific to a qmgr.

You could write such an app; but it is your responsibility to do the transaction-level coordination of changes to ensure consistency across the multiple qmgrs.
_________________
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
View user's profile Send private message
Twilight
PostPosted: Tue Jul 21, 2009 10:15 am    Post subject: Reply with quote

Apprentice

Joined: 04 Aug 2004
Posts: 49

Excellent input folks !
I'll pass these input to my developer as caution.
thanks again everyone replied to my questions.
_________________
WMQ/WMQI/WBI Consultant
Toronto, Canada
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 » MQ Client connects to 2 different Qmgrs
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.