Is possible to control the order of DB during HA-Datasource Failover?

Solution Unverified - Updated -

Issue

If there are db list in datasource configuration for failover like following, is it possible to control the order of db which will establish new connections?

jdbc:mysql://172.17.42.42:3306/jhousedb|jdbc:mysql://172.17.42.41:3306/jhousedb|jdbc:mysql://172.17.42.40:3306/jhousedb

Environment

Red Hat JBoss Enterprise Application Platform
- 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.