JBoss ESB supports JBoss AS 5 and 6 deployment, but there's no JBoss AS 7 / Wildfly / EAP 6 support.
If you want to use JBoss ESB, I'd suggest starting on 5.1.0.GA, or if you want to use EAP 6, I'd suggest investigating SwitchYard (http://www.jboss.org/switchyard.html), which is a new jboss.org project designed to be the next major version of ESB at JBoss.
For some more background, here's some similar threads that contain a little more of the background behind this and some interesting resources regarding SwitchYard :
Thanks for the quick reply.
So if I download the ESB with the server, do I then get the 5.1.0 ?
I will take a look at switchyard... but is that mature for a production env ??