Client applications must connect to a running instance of TIBCO Enterprise Message Service server in order to perform any JMS operations.
Normally client applications use JNDI access to look up a ConnectionFactory object in order to connect to the server. For more information on JNDI-based access to the server, refer to Using JNDI with TIBCO Enterprise Message Service.
However, in rare cases applications may connect to the server directly.
In order to connect to the server directly, the application must use one of the following statements.
For the common facility interface, use:
For a topic, use:
For a queue, use:
The server_url
parameter in these expressions is a Java string defining the protocol and the address of the running instance of the TIBCO Enterprise Message Service Server. The server_url
parameter has the form:
Examples of the server url string are:
You can use short forms of the server-url
, as described below:
For example, valid forms of the server url are:
TIBCO Enterprise Message Service™ User’s Guide Software Release 4.3, February 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |