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 » IBM MQ Java / JMS » Need to connect from same JVM to diff qmgr with diff binding

Post new topic  Reply to topic
 Need to connect from same JVM to diff qmgr with diff binding « View previous topic :: View next topic » 
Author Message
mvarghese
PostPosted: Thu May 24, 2007 12:55 pm    Post subject: Need to connect from same JVM to diff qmgr with diff binding Reply with quote

Centurion

Joined: 27 Sep 2006
Posts: 141

I just need to connect from same JVM(java program) to diff qmgr(one in local ) and another one in remote machine with different binding mode.
Is any one come across this issue.Is this possible.
We tried with diff binding mode<one with default binding & another with out any binding or another with fastpath>, its not working.
_________________
Jain Varghese
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu May 24, 2007 1:06 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

If you want it to work (but you will not be able to do multiphase commit without ETC) you need to connect in CLIENT mode for ALL MQ Connections.

Enjoy
_________________
MQ & Broker admin


Last edited by fjb_saper on Thu May 24, 2007 1:08 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Thu May 24, 2007 1:07 pm    Post subject: Reply with quote

Grand High Poobah

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

a) Not convinced this is possible

b) Less convinced it's wise design wise. What's the requirement here?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu May 24, 2007 1:11 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Vitor wrote:
a) Not convinced this is possible

Way possible but only in Client connection mode.
Server connection (bindings) allows only concurrent connections to ONE and the SAME qmgr in the same JVM.

Vitor wrote:
b) Less convinced it's wise design wise. What's the requirement here?

Nothing to do with Design. I thought that was how you'd implement a JMS bridge between 2 different providers...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Fri May 25, 2007 12:19 am    Post subject: Reply with quote

Grand High Poobah

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

Ah - thought it was 2 bindings.

As to the other, I can't design Java any more than I can code it. I seek to learn you see, and to learn I question. Now I can reasearch "JMS bridge".

Along with most other Java related topics....
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » IBM MQ Java / JMS » Need to connect from same JVM to diff qmgr with diff binding
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.