protected void doStart() throws Exception {
if (operation.equals("marshal")) {
marshal = new MarshalProcessor(dataFormat);
marshal.setCamelContext(getCamelContext());
} else {
unmarshal = new UnmarshalProcessor(dataFormat);
unmarshal.setCamelContext(getCamelContext());
}
ServiceHelper.startServices(dataFormat, marshal, unmarshal);
super.doStart();