The full syntax for a message service address is
scheme://address-syntax
where the scheme and address-syntax are described in the table below.
The MQ Scheme and MQ Service are the values shown in the first two columns of the following table.
Scheme Name |
Connection Service |
Description |
Address Syntax |
---|---|---|---|
mq |
jms and ssljms |
Message Queue client runtime makes a connection to the MQ Port Mapper at the specified host and port. The Port Mapper returns a list of the dynamically established connection service ports, and the Message Queue client runtime then makes a connection to the port hosting the specified connection service. |
[hostName][:port][/serviceName] Defaults: hostName = localhost, port = 7676, serviceName = jms Defaults only apply to the jms connection service. For the ssljms connection service, all variables need to be specified. Example: mq:MyHost:7677/ssljms |
mqtcp |
jms |
Message Queue client runtime makes a TCP connection to the specified host and port (bypassing the MQ Port Mapper) to establish a connection. |
hostName:port/jms Example: mqtcp:localhost:7676/jms |
mqssl |
ssljms |
Message Queue client runtime makes a secure SSL connection to the specified host and port (bypassing the MQ Port Mapper) to establish a connection. |
hostName:port/ssljms Example: mqssl:localhost:7676/ssljms |
http |
httpjms |
Message Queue client runtime makes an HTTP connection to an Message Queue tunnel servlet at the specified URL. (The broker must be configured to access the HTTP tunnel servlet, as described in the Message Queue Administrator’s Guide.) |
hostName:port/contextRoot/tunnel If multiple broker instances are using the same tunnel servlet, then the syntax for connecting to a specific broker instance (rather than a randomly selected one) is: http://hostName:port/contextRoot/tunnel?serverName=hostName:instanceName |
https |
httpsjms |
Message Queue client runtime makes a secure HTTPS connection to the specified Message Queue tunnel servlet URL. (The broker must be configured to access the HTTPS tunnel servlet, as described in the Message Queue Administrator’s Guide.) |
hostName:port/contextRoot/tunnel If multiple broker instances are using the same tunnel servlet, then the syntax for connecting to a specific broker instance (rather than a randomly selected one) is: http://hostName:port/contextRoot/tunnel?serverName=hostName:instanceName |