Commit 5848bb3f authored by Aaron Coburn's avatar Aaron Coburn
Browse files

Add more timeout controls

parent 1a475e34
......@@ -86,7 +86,7 @@ public class OreRouter extends RouteBuilder {
.setHeader(ORE_SUBJECT).header(FCREPO_URI)
.to("direct:members")
.split(body(), new ModelAggregator())
.to("seda:recurse");
.to("seda:recurse?timeout={{ore.timeout}}");
from("direct:getResource").routeId("OreResource")
.removeHeader("breadcrumbId")
......
......@@ -90,7 +90,7 @@ public class PcdmRouter extends RouteBuilder {
.to("direct:relatedObjects")
.process(new RelatedProcessor())
.split(body(), new ModelAggregator())
.to("seda:recurse");
.to("seda:recurse?timeout={{pcdm.timeout}}");
from("direct:getResource")
.routeId("PcdmResource")
......
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