you can set the connection factory properties using com.sun.messaging.ConnectionConfiguration, for example the host and the port can be set in the following manner
myQConnFactory .setProperty(com.sun.messaging.ConnectionConfiguration.imqBrokerHostName,
getHostName());
myQConnFactory .setProperty(com.sun.messaging.ConnectionConfiguration.imqBrokerHostPort,
getPort());
Thanks
-Sujit
the setProperty message is not available for myQConnFactory?
I have imq.jar and jms.jar in my classpath.
> you can set the connection factory properties using
> com.sun.messaging.ConnectionConfiguration, for
> example the host and the port can be set in the
> following manner
>
> myQConnFactory
> .setProperty(com.sun.messaging.ConnectionConfiguration
> .imqBrokerHostName,
>getHostName());
> tory
> .setProperty(com.sun.messaging.ConnectionConfiguration
> .imqBrokerHostPort,
>getPort());
> it