![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
Protocol and database adapters usually require connection management using connection pools. A connection pool works as a system resource management facility that can help improve performance in an application interface to a backend system.When a message arrives at an adapter, it is executed by a target application specific task. A pool of connections to the application should be available to an executing adapter task.The pool of connections should be managed by a connection manager, which should have the following characteristics:The connection pool is configured in TIBCO Designer and saved to the project repository. The code can then pick up the connection pool and work with it.If the backend application processes data in a synchronous manner (blocking behavior), it is useful to maintain a request queue. Used in conjunction with a multithreaded design, the adapter can process multiple concurrent synchronous operations without loss of messages.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |