PORT

For a connection to a queue manager, the number of the port on which the queue manager is listening or, for a real-time connection to a broker, the number of the port on which the broker is listening for real-time connections.


Applicable Objects

ConnectionFactory, QueueConnectionFactory, TopicConnectionFactory, XAConnectionFactory, XAQueueConnectionFactory, XATopicConnectionFactory

JMS administration tool long name: PORT

JMS administration tool short name: PORT


Programmatic access

Setters/getters

  • MQConnectionFactory.setPort()
  • MQConnectionFactory.getPort()


Values

    1414
    This is the default value if TRANSPORT is set to CLIENT.

    1506
    This is the default value if TRANSPORT is set to DIRECT or DIRECTHTTP.

    Any positive integer

Parent topic: Properties of IBM MQ classes for JMS objects