Commit 82cd142d authored by bseeger's avatar bseeger
Browse files

Merge branch 'more_timeouts' into 'master'

Add more timeout controls

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