As far as I know, MongoDB is not supported!
As you can see in the following link, MongoDB is NOT enlisted in the supported/certified configurations of JBoss EAP 7.
Like Panagiotis said, Red Hat is not supported MongoDB on top of JBoss EAP but it doesn't mean not to configure MongDB technically.
You might find the way to configure as below I hope.
I don't think the driver needs to be supported by Red Hat.
The problem with MongoDB is to find a working JDBC driver. I've made some tests with the UnityJDBC driver (UnityJDBC - Download).
And the following approach worked at least in my environment:
- create a directory $JBOSS_HOME/modules/mongodb/main/
- create a module.xml with following contents
<module xmlns="urn:jboss:module:1.3" name="mongodb">
- copy the files unityjdbc.jar and mongo-java-driver-3.0.3.jar to this directory
- create the jdbc driver via jboss-cli
- create the datasource via web console. (select "Custom" datasource)