Configuring for resource workload routing
Use the resource workload routing feature in WebSphere® Application Server to provide data source and connection factory failover and failback from a predefined alternate resource.
Before you begin
About this task
A data source and connection factory can fail over and fail back automatically when a specified or default failure threshold value is reached. When fail over occurs, the application switches from using the primary resource to using the alternate resource. Fail back occurs when the application switches back from the alternate resource to the primary resource.
When an alternate resource is configured for the IMS TM resource adapter, WebSphere Application Server sends a ping message to IMS Connect to verify that it is up and running before re-establishing a connection to the currently available resource.
To enable the resource workload routing function, configure the alternateResourceJNDIName property as a custom connection pool property for your primary connection factory. Set the value of the alternateResourceJNDIName property to the JNDI name of the secondary connection factory.