HOSTNAME

For a connection to a queue manager, the host name or IP address of the system on which the queue manager is running or, for a real-time connection to a broker, the host name or IP address of the system on which the broker is running.


Applicable Objects

ConnectionFactory, QueueConnectionFactory, TopicConnectionFactory, XAConnectionFactory, XAQueueConnectionFactory, XATopicConnectionFactory

JMS administration tool long name: HOSTNAME

JMS administration tool short name: HOST


Programmatic access

Setters/getters

  • MQConnectionFactory.setHostName()
  • MQConnectionFactory.getHostName()


Values

    localhost
    This is the default value.

    Any valid string

Parent topic: Properties of IBM MQ classes for JMS objects