multicast is not supposed to be in the simple route.
This commit is contained in:
parent
ee55fd2b99
commit
2454c900aa
|
@ -61,12 +61,12 @@ public class SimpleOaiPmhRoute extends RouteBuilder {
|
|||
.routeId(routeid)
|
||||
.choice()
|
||||
.when(xpath("//*[local-name()='record']"))
|
||||
.multicast().parallelProcessing()
|
||||
.to("direct:oaipmhProcessor")
|
||||
.endChoice()
|
||||
.otherwise()
|
||||
.process(new ErrorProcessor(validationJob))
|
||||
.to("jpa:" + ValidationJob.class.getName() + "?useExecuteUpdate=true")
|
||||
.to("controlbus:route?routeId="+routeid+"&action=stop")
|
||||
.end();
|
||||
|
||||
from("direct:oaiPmhProcessor")
|
||||
|
|
Loading…
Reference in New Issue