Commit a102d590 authored by acoburn's avatar acoburn
Browse files

Merge branch 'adds_seda_timeout' into 'master'

Adds seda timeout

See merge request !99
parents b3d100cf ee1941b0
......@@ -5,6 +5,8 @@ rest.prefix=/pcdm
# Concurrency level (this MUST be > 1)
pcdm.concurrency=10
# seda timeout (milliseconds) (0 = disabled)
pcdm.timeout=30000
# Repository Base URL (it MUST start with http:// or https://)
fcrepo.baseUrl=http://localhost:8080/fcrepo/rest
......
......@@ -76,7 +76,7 @@ public class PcdmRouter extends RouteBuilder {
})
.to("direct:serialize");
from("seda:recurse?concurrentConsumers={{pcdm.concurrency}}")
from("seda:recurse?concurrentConsumers={{pcdm.concurrency}}&timeout={{pcdm.timeout}}")
.routeId("PcdmBuildRecursive")
.setHeader(FCREPO_URI, body())
.to("direct:getResource")
......
......@@ -14,6 +14,7 @@
<cm:property name="rest.prefix" value="/pcdm"/>
<cm:property name="rest.host" value="localhost"/>
<cm:property name="pcdm.concurrency" value="10"/>
<cm:property name="pcdm.timeout" value="30000"/>
<cm:property name="fcrepo.baseUrl" value="http://localhost:8080/fcrepo/rest"/>
<cm:property name="fcrepo.authUsername" value=""/>
<cm:property name="fcrepo.authPassword" value=""/>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment