Supraba,
you will have to either specify your connection attributes in the JNDI
directory entry for you xxxConnectionFactory (where xxx is either 'Queue' or
'Topic', depending on your appl.model) or you can do it at runtime, using
the methods of the MQxxxConnectionFactory class: setChannel(...),
setHostName(...) and setPort(...)
Chapter 10 of the MQ Using Java manual contains all the juicy details.
Hope this helps.
Everybody have a nice weekend,
Stefan
>From: Supraba Shekharan <[EMAIL PROTECTED]>
>Reply-To: MQSeries List <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Reg MQ-JMS programs.
>Date: Fri, 2 Aug 2002 15:14:55 +0530
>
>Hi all,
>
>I have a querry regarding MQ JMS programs.
>We are writing a JMS program (running on NT server) to write to a MQ queue
>on the mainframe. There is only a MQclient running on the NT and the MQ
>server runs on the mainframe. What is the config file that MQseries
>provides (in its directories) to specify the IP address and port of the
>MQServer on the mainframe?
>
>Thanks in advance for any help and suggestions.
>
>Thanks,
>Supraba.
>
>Instructions for managing your mailing list subscription are provided in
>the Listserv General Users Guide available at http://www.lsoft.com
>Archive: http://vm.akh-wien.ac.at/MQSeries.archive
_
Chat with friends online, try MSN Messenger: http://messenger.msn.com
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive