这是我的主要路线,
.process(startOperation(DISTRIBUTION, GET_HOTEL_AGGREGATOR_RATES_API_MOM))
.log("Calling CredentialRoute")
.bean(AggrHelper.class, "getCredential")
.log("Making parallel calls to vault")
.multicast()
.parallelProcessing()
.to("direct:AgencyCredentialProcessing", direct:LocalCredentialProcessing")
.end()
.bean(RatesPreProcessor.class, "preProcess")
from("direct:AgencyCredentialProcessing").errorHandler(noErrorHandler())
-- setting value in exchange header, which came from main route
.end();
预先感谢, 拉加万