setTransportType

 

public void setTransportType(int type) throws JMSException;

Sets the transport type.

Parameters

  • type - the transport type. Valid types are:

    • JMSC.MQJMS_TP_BINDINGS_MQ

    • JMSC.MQJMS_TP_CLIENT_MQ_TCPIP

    • JMSC.MQJMS_TP_MQJD

    • JMSC.MQJMS_TP_DIRECT_TCPIP

    • JMSC.MQJMS_TP_DIRECT_HTTP

Exceptions

  • JMSException - if the transport is not one of the above.


uj28880_