-
Notifications
You must be signed in to change notification settings - Fork 3
Server Configuration Example
peacekeeper edited this page Nov 17, 2014
·
4 revisions
The following configuration sets up an XDI endpoint backed by MongoDB at the relative path /graph:
<!-- MESSAGING TARGET at /graph -->
<bean id="graphfactory1" class="xdi2.core.impl.json.mongodb.MongoDBJSONGraphFactory">
<property name="host" value="localhost" />
</bean>
<bean id="graph1" factory-bean="graphfactory1" factory-method="openGraph" />
<bean name="/graph" class="xdi2.messaging.target.impl.graph.GraphMessagingTarget">
<property name="graph" ref="graph1" />
</bean>
This work is licensed under a Creative Commons Attribution 4.0 International License.