Adding JMS Connectors to the TDV Server
JMS connectors must be configured so that the TDV Server can publish data services using JMS through JNDI after the JMS Broker has been configured.
To add JMS connectors to the TDV Server
| 1. | Launch Manager. |
| — | From a URL, locally or remotely, type: |
http://localhost:9400/manager/#home
http://[Host]:[BasePort]/manager/#home
| — | From the Studio, select Administration > Launch Manger (Web). |
| 2. | Log in to the Manager as administrator. |
| 3. | Choose Connectors from the CONFIGURATION menu. |
| 4. | On the CONNECTOR MANAGEMENT page, click Add Connector. |
| 5. | The Add a JMS through JNDI Connector window is displayed. Publishing directly to JMS is not supported. |
| 6. | Enter values in the fields displayed on the Info tab. |
|
Field |
Description |
|
Enter a name to call the connector. |
|
|
Connectors that share a group name use a common connection pool, with the added advantage of failover; that is, if a connector instance fails, other connectors in the group can send and receive messages using the same connection pool. |
|
|
(Optional) Adds notes for the JNDI connector that are visible on the Connector Management page. |
| 7. | Enter values in the fields displayed on the JMS through JNDI tab. |
| 8. | Enter a name-value pair on the JNDI Properties tab. |
| 9. | Click the plus button to add more name-value pairs. |
Sonic requires you to specify a domain name; TIBCO does not.
| 10. | Enter values on the Pool tab. |
The Pool tab lets you specify connection thread timeout and pool size parameters. The default values are typical for development needs.
|
Name |
Value description |
|
Maximum waiting time (in seconds) for a new connection. If a connection is not provided within this period, the service checks for an available connection through a valid user and uses it. If no connection is available, the least recently used connection for another user is dropped and a new connection for the required user is opened. |
|
|
The number of connections that should remain in the connection pool even when the pool becomes inactive. The connection pool is initially empty. When there is a need to connect to JMS through JNDI, the pool creates one connection based on the information provided in the Info panel. To improve response, connections remain available even when there is no activity. After a period of JMS connection inactivity, the pool size begins to shrink. |
|
|
The number of connections (active and idle) available on the data source. When the limit is reached, new incoming requests must wait for the next available connection. Connectors with identical group names use the same pool of connections. |
| 11. | Click OK. |
For more information on publishing to JMS queues, see the TDV User Guide.