|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to get the channel name after connecting to a QMGR? |
« View previous topic :: View next topic » |
Author |
Message
|
issac |
Posted: Tue Dec 27, 2011 5:46 pm Post subject: How to get the channel name after connecting to a QMGR? |
|
|
 Disciple
Joined: 02 Oct 2008 Posts: 158 Location: Shanghai
|
Hello, guys
I have successfully connected to a WMQ V7 QMGR by CCDT with the following code:
Code: |
private void process(String[] args) throws IllegalOptionValueException, UnknownOptionException, MalformedURLException, MQException {
this.parseCommandLineArguments(args);
ProgressLog.progress_LV1("Connecting to "+pstr("qmgr")+" with CCDT "+pstr("ccdtUrl")+"...");
final MQQueueManager qmgr = new MQQueueManager(pstr("qmgr"), new URL(pstr("ccdtUrl")));
ProgressLog.progress_LV2("QMGR successfully connected.");
qmgr.
} |
How to identify the channel I'm using please? I'm trying to do so to understand how the client weight param of a CLNTCONN works.
Thank you! _________________ Bazinga! |
|
Back to top |
|
 |
exerk |
Posted: Wed Dec 28, 2011 12:22 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
The point of a CCDT is so that you don't have to worry about which channel you're using, or dependent on queue manager name supplied, you want to use a specific channel, but which again is abstracted for you. And what don't you understand about random selection of channels, or are you also using affinity? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
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
|
|
|
|