HTTP tunnelling
A WebSphere MQ JMS client can connect to a broker using HTTP tunnelling. HTTP tunnelling is suitable for applets because the Java™ 2 Security Manager normally rejects any attempt by an applet to connect directly to the broker. Using HTTP tunnelling, which exploits the built in support in Web browsers, a WebSphere MQ JMS client can connect to the broker using the HTTP protocol as though connecting to a Web site.
We can configure a WebSphere MQ JMS client to use HTTP tunnelling in either of the following ways:
- In a WebSphere MQ JMS application, use the setTransportType() method of an MQConnectionFactory object to set the transport type attribute to JMSC.MQJMS_TP_DIRECT_HTTP.
- Use the WebSphere MQ JMS administration tool to set the TRANSPORT property to DIRECTHTTP.
SSL authentication cannot be used with HTTP tunnelling.
uj34720_