Author |
Message
|
mvarghese |
Posted: Thu May 24, 2007 12:55 pm Post subject: Need to connect from same JVM to diff qmgr with diff binding |
|
|
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 |
|
 |
fjb_saper |
Posted: Thu May 24, 2007 1:06 pm Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Thu May 24, 2007 1:07 pm Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Thu May 24, 2007 1:11 pm Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Fri May 25, 2007 12:19 am Post subject: |
|
|
 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 |
|
 |
|