In Teiid, for MongoDB datasource a JCA connector is provided and deployed at the install time. To create
mongodb datasource connection edit the "standalone-teiid.xml" file and add 
the contents of the mongodb.xml under "resource-adapters" subsystem section.