|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Configuration of the used SVRCONN channel in mqsi commands? |
« View previous topic :: View next topic » |
Author |
Message
|
KVBuser |
Posted: Fri Dec 10, 2010 7:51 am Post subject: Configuration of the used SVRCONN channel in mqsi commands? |
|
|
Newbie
Joined: 22 Oct 2010 Posts: 9
|
Hi,
When we use the mqsi commands in v7 and connect to remote brokers, it seems not possible to configure the SRVCONN channel that this connection uses.
Apparently, the "SYSTEM.BROKER.CONFIG" channel is used by default.
Is this correct or can we configure the channel to use?
Thanks in advance !
Best Regards,
Kurt. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Dec 10, 2010 8:34 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
mqmatt |
Posted: Fri Dec 10, 2010 11:07 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
Jeff, these are all the CMP-based commands.
KVBuser, you can specify the SVRCONN channel if you use the -n flag on these commands instead of -i -p -q. To get one of these .broker files, export one from your Message Broker Explorer's broker connection. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Dec 10, 2010 11:27 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
mqmatt wrote: |
Jeff, these are all the CMP-based commands. |
Yes, I agree that all of the CMP-based commands do use these, and the right solution to the question as posed IF the question is about the CMP-based commands is "use -n and a .broker file".
However, it is entirely possible that KVBuser meant OTHER mqsi commands, thus the request for clarification. |
|
Back to top |
|
 |
KVBuser |
Posted: Tue Dec 14, 2010 1:34 am Post subject: |
|
|
Newbie
Joined: 22 Oct 2010 Posts: 9
|
I was indeed referring to the CMP-based commands and so my question is answered since it seems possible to override the default channel via the -n flag and a ".broker" file.
Related to this question, I also noticed the same behaviour when using the "Test Console" or when using the "CMP API Exerciser". In both cases, also the default channel "SYSTEM.BRK.CONFIG" is used. Is it possible to override these settings?
Thanks !
Best Regards,
Kurt. |
|
Back to top |
|
 |
mqmatt |
Posted: Tue Dec 14, 2010 5:53 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
KVBuser wrote: |
Related to this question, I also noticed the same behaviour when using the "Test Console" or when using the "CMP API Exerciser". In both cases, also the default channel "SYSTEM.BRK.CONFIG" is used. Is it possible to override these settings? |
Sure. In the CMP API Exerciser, select "View -> Everything" before connecting to the remote broker.
On the Test Client's Configuration tab, click 'Change...' to select the Deployment Location, click "Connect to Remote Broker...", enter the host/port/qmgr. If you then click 'Next' you'll see a page where you can change the SVRCONN channel name. I'm not sure, but I think you need the Toolkit to be on at least 7.0.0.1 in order to do this. |
|
Back to top |
|
 |
KVBuser |
Posted: Tue Dec 14, 2010 6:31 am Post subject: |
|
|
Newbie
Joined: 22 Oct 2010 Posts: 9
|
Thanks, I wasn't aware of this ! This indeed works for both, the Test Console and the CMP API Exerciser.
So, to conclude, it seems that I can remove the default "SYSTEM.BKR.CONFIG" channel, and replace it with a custom defined one, without any problem?
Thanks ! |
|
Back to top |
|
 |
mqmatt |
Posted: Wed Dec 15, 2010 7:07 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
KVBuser wrote: |
So, to conclude, it seems that I can remove the default "SYSTEM.BKR.CONFIG" channel, and replace it with a custom defined one, without any problem? |
Sure, that's fine. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|