Hello:

Here is my route. The otherwise() call cannot be invoked because of the
splitter. Is there a way to bypass this issue? 

from(inboundroute)
.choice()
.when(header("CamelFileName").regex("^DDSBATCHSTATUS.*(xml)$"))
        .to(someroute)
        .split().method(DDSResponseSplitService.class, "splitStatusResponse")
        .process(new Processor() {
        public void process(Exchange exchange) throws Exception {
        // do something
        }
        })
        .to(outboundroute)
.otherwise() <-------- This is not working because of the splitter
        .to(archive);

Thanks,
Murari Raghavan



--
View this message in context: 
http://camel.465427.n5.nabble.com/Cannot-invoke-Otherwise-method-due-to-the-splitter-tp5717811.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to