Hello:
Is there a way to pass arguments to a custom splitter?
For eg - Route Builder calls a custom splitter -
DDSResponseSplitService.splitStatusResponse()
from(routesprops.getString(Constants.INBOUND))
.split().method(DDSResponseSplitService.class, "splitStatusResponse")
.process(new Processor() {
public void process(Exchange exchange) throws Exception {
....
If the splitStatusResponse method accepts a property string xslfilepath, how
can I pass this argument in the call to the splitter method -
.split().method(DDSResponseSplitService.class, "splitStatusResponse")?
public List<String> splitStatusResponse(String ddsresponse, String
xslfilepath) throws Exception {
}
Thanks,
Murari
--
View this message in context:
http://camel.465427.n5.nabble.com/Passing-arguments-to-a-customer-splitter-tp5717719.html
Sent from the Camel - Users mailing list archive at Nabble.com.