WildFly 10 comes with new Artemis messaging broker.
At the moment, it is not possible to connect to an older WildFly server (WFLY 8 & 9) that were using HornetQ messaging broker.
It should be possible for a WildFly10 application to connect to these older brokers (esp. during migration and system upgrade).
This should work both for JMS client and MDB deployed on WildFly 10 by using a pooled-connection-factory pointing to the old servers.