Here is a cheatsheet with some examples of Datasources configurations which are valid for JBoss AS 7, JBoss EAP 6 and WildFly.
Configuring JBoss EAP 6 – WildFly to use TCP for messaging
This tutorial shows how to use TCP for initial discovery and communication between cluster nodes of HornetQ servers running on JBoss EAP 6 / WildFly 8 First of all, let’s see the default mechanism used by the HornetQ messaging broker in JBoss/WildFly: As you can see, the first step is server discovery and it’s done … Read more