• IBM MQ 连接属性-示例


    Websphere MQ Connection Properties

    Property Name

    Description

    queueManager

    The name of the Queue Manager.

    clientID

    The ID assigned to 

    Managed File Transfer

     (client). This is used as part of the topic’s subscription ID.

    hostName

    Name or IP address of the host MQ server. If specified, this value overrides the value in the host portion of the URL.

    port

    The port number of the MQ server. If specified, this value overrides the value in the port portion of the URL.

    transportType

    The type of transport (default 1).

    channel

    Sets the name of the channel - applies to client transport mode only.

    localAddress

    The local address to be used. The format of a local address is [IP address or Host Name][(low-port[,high-port])]. Most MQ servers use 4-5 ports, but if an application is having difficulty making connections, increase the number of ports in the range. A host name can be specified instead of an IP address. Local address examples:

    9.20.4.98 - The channel binds to 9.20.4.98 locally.

    9.20.4.98(1000) - The channel binds to 9.20.4.98 locally and uses port 1000.

    9.20.4.98(1000,2000) - The channel binds to 9.20.4.98 locally and uses a port in the range 1000 to 2000.

    (1000) - The channel binds to port 1000 locally.

    (1000,2000) - The channel binds to a port in the range 1000 to 2000 locally.

    Considerations:

    • Specify a range of ports to allow for connections that are required internally as well as those explicitly used by an application. The number of ports required depends on the application and the facilities it uses. Typically, this is the number of sessions the application uses plus three or four additional ports. If an application is having difficulty making connections, increase the number of ports in the range.

    • Connection pooling has an effect on how quickly a port can be reused. In JMS, connection pooling is switched on by default and it might be several minutes before a port can be reused. Connection errors might occur in the meantime.

    • For real-time connections, the local address determines which of the local network interfaces is used for multicast connections. When specifying a local address for a real-time connection, do not include a port number. A port number is not valid for multicast and, if specified, causes a failure at connect time.

    maxBufferSize

    The maximum number of received messages stored in an internal message buffer (default 1000).

    proxyHostName

    The host name of the proxy server when establishing a real-time connection.

    proxyPort

    The port number of the proxy server when establishing a real-time connection.

  • 相关阅读:
    PSU 19.19安装
    计算机操作系统-第九天
    实现map和set
    Java随笔-泛型
    .net core 和 WPF 开发升讯威在线客服系统:怎样实现拔网线也不丢消息的高可靠通信(附视频)
    零基础Linux_20(进程信号)内核态和用户态+处理信号+不可重入函数+volatile
    二叉树与堆
    业务代码到底需不需要用多线程???
    基于单片机的推箱子游戏仿真设计(#0013)
    【每日一题】三个无重叠子数组的最大和
  • 原文地址:https://blog.csdn.net/yangkei/article/details/128187062