Sample URIs

This is an example of a simple URI for an Axis service:

jms:/queue?destination=myQ&connectionFactory=()
&initialContextFactory=com.ibm.mq.jms.Nojndi

This is an example of a simple URI for a .NET service:

jms:/queue?destination=myQ&connectionFactory=()&targetService=MyService.asmx
&initialContextFactory=com.ibm.mq.jms.Nojndi

Only the required parameters are supplied (targetService is required for .NET services only), and connectionFactory is given no options.

In this Axis example, connectionFactory contains a number of options:

jms:/queue?destination=myQ@myRQM&connectionFactory=connectQueueManager(myconnQM)
binding(client)clientChannel(myChannel)clientConnection(myConnection)
&initialContextFactory=com.ibm.mq.jms.Nojndi

In this Axis example, the sslPeerName option of connectionFactory has also been specified. The value of sslPeerName itself contains name value pairs and significant embedded blanks:

jms:/queue?destination=myQ@myRQM&connectionFactory=connectQueueManager(myconnQM)
binding(client)clientChannel(myChannel)clientConnection(myConnection)
sslPeerName(CN=MQ Test 1,O=IBM,S=Hampshire,C=GB)
&initialContextFactory=com.ibm.mq.jms.Nojndi