Created
June 6, 2016 18:46
-
-
Save Rarian/a452f51cd816a0f94f070f752dcb16a5 to your computer and use it in GitHub Desktop.
trippi-sqarql spring config
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:context="http://www.springframework.org/schema/context" | |
xsi:schemaLocation="http://www.springframework.org/schema/beans | |
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd | |
http://www.springframework.org/schema/context | |
http://www.springframework.org/schema/context/spring-context-3.0.xsd"> | |
<bean id="org.trippi.TriplestoreConnector" | |
name="org.trippi.TriplestoreConnector" | |
class="edu.si.trippi.impl.sparql.SparqlConnector" | |
destroy-method="close" autowire-candidate="true"> | |
<property name="configuration"> | |
<map> | |
<entry> | |
<key><value>graphName</value></key> | |
<value>#ri</value> | |
</entry> | |
<entry> | |
<key><value>maxHttpConnections</value></key> | |
<value>10</value> | |
</entry> | |
<entry> | |
<key><value>updateEndpoint</value></key> | |
<value><%= @appdata['sparql']['updateEndpoint'] %></value> | |
</entry> | |
<entry> | |
<key><value>queryEndpoint</value></key> | |
<value><%= @appdata['sparql']['queryEndpoint'] %></value> | |
</entry> | |
<entry> | |
<key><value>constructEndpoint</value></key> | |
<value><%= @appdata['sparql']['constructEndpoint'] %></value> | |
</entry> | |
<entry> | |
<key><value>autoFlushDormantSeconds</value></key> | |
<value>5</value> | |
</entry> | |
<entry> | |
<key><value>bufferSafeCapacity</value></key> | |
<value>40000</value> | |
</entry> | |
<entry> | |
<key><value>bufferFlushBatchSize</value></key> | |
<value>20000</value> | |
</entry> | |
<entry> | |
<key><value>autoFlushBufferSize</value></key> | |
<value>20000</value> | |
</entry> | |
</map> | |
</property> | |
</bean> | |
</beans> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment