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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content