on the EAP 5.1.1 there is a switch.sh script that will install the EAP correctly.
You should use ./switch.sh -Dbackup=true (on the hornetq extra directory)
You will see the backup being created with the proper hornetq-jms.xml
JMS destinations will be created over demand when failover happens.
I will use switch.sh on the EAP5.1.1 And I put hornetq-jms.xml to the backup server by manual operation in EAP5.1.0.