> I want my java client application to access java
> system message queue server which is installed on a
> different system. Can anyone help me with this?
A java client talks to the broker can be specified by either setting imqAddressList (MQ 3.5 or later) or the [imqBrokerHostName,imqBrokerHostPort] (MQ2.0 or later) combination
If you are using connection factory objects stored in a repository, you should update the appropriate property for the connection factory e.g.
imqobjmgr update -t cf -l "cn=myname" -o "imqAddressList=mq://myhost:7676/jms" [....]
If you are using the default connection factory, you can specify the properties on the command line using -Dprop=value. e.g. something like:
java -DimqAddressList=mq://myhost:7676/jms MyClass
or
java -DimqBrokerHostName=mqyhost -DimqBrokerHostPort=7676 MyClass
Specifics of the syntax of the address list are found in table
4.2 of the imq java developer's guide:
http://docs.sun.com/source/817-3728/runtime.html