Created
August 4, 2017 13:39
-
-
Save mekya/233cefd7ca1d12bc2761110e4a416b9a to your computer and use it in GitHub Desktop.
MongoDB and Rest Service Integration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<context:component-scan base-package="io.antmedia.rest" /> | |
<bean id="db.datastore" class="io.antmedia.datastore.db.MongoStore"> | |
<constructor-arg value="${webapp.dbName}" /> | |
</bean> | |
<bean id="web.handler" class="Enter your web handler class that inherits from AntMediaApplicationAdapter" > | |
<property name="dataStore" ref="db.datastore" /> | |
</bean> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment