Author |
Message
|
rcp_mq |
Posted: Mon Mar 26, 2012 5:37 am Post subject: Connect to MQ w/o tab file from Java |
|
|
 Centurion
Joined: 13 Dec 2011 Posts: 133
|
Hello all,
I'm trying connect to MQ server from Java without CCDT. I know how to do it from an MQ client, wondering if anyone can help.
MQ v7
Thanks. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Mar 26, 2012 6:04 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
I do not have the honor to understand what you have asked.
You know how to do this from an MQClient? What kind of MQ Client? Java is an MQ client.
You are asking how to do this from Java?
The CCDT is simply a file that contains the necessary information to connect to a given queue manager.
It is the most convenient way to specify this information, and in certain kinds of cases, it is the only functional way to specify some information. |
|
Back to top |
|
 |
rcp_mq |
Posted: Mon Mar 26, 2012 6:42 am Post subject: |
|
|
 Centurion
Joined: 13 Dec 2011 Posts: 133
|
I apologize for that.
I know how to connect from a Websphere MQ client without a CCDT. I would set the MQSERVER variable...
Yes, I'm asking how to do this from Java.
My company requirement is to not use a CCDT file to connect to MQ Server. So that's all i'm looking for. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Mar 26, 2012 6:46 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
zpat |
Posted: Mon Mar 26, 2012 6:54 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
|
Back to top |
|
 |
rcp_mq |
Posted: Mon Mar 26, 2012 7:08 am Post subject: |
|
|
 Centurion
Joined: 13 Dec 2011 Posts: 133
|
Thanks! Next time, i'll dig harder. |
|
Back to top |
|
 |
zpat |
Posted: Mon Mar 26, 2012 11:26 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
How can anyone have a requirement not to use a CCDT?
It's actually harder to use one in Java - that's what I thought you were asking, in the 5 seconds that I allow myself to read these posts!
CCDTs are more flexible, usually easier to use with SSL and so on. |
|
Back to top |
|
 |
|