Using the JMS Binding Component

Specifying the Protocol, Server, and Port

For any JMS server that is supported by JMSJCA, you can specify the protocol, server, and port in the connection URL. The JMS Binding Component uses the information in the connection URL to create a new JMS connection factory.

The following connection URL includes a protocol, server, and port for Sun Java System Message Queue:


mq://localhost:7676

The following connection URL includes a protocol, server, and port for Sun JMS IQ Manager:


stcms://localhost:18007

When you use a wizard to create a JMS-based concrete WSDL document, you set the connection URL in the Request Connection Configuration step of the wizard. For more information, see Creating JMS-Based Concrete WSDL Documents.

When you finish the wizard, the appropriate WSDL code is generated. The connection URL appears in the address element. For example:


<port name="newWSDL_InPort" binding="tns:JMSInBinding">
  <jms:address connectionURL="mq://localhost:7676" username="admin" password="admin">
    <jms:jmsjcaOptions><![CDATA[]]></jms:jmsjcaOptions>
  </jms:address>
</port>