final SalesforceEndpointConfig endpointConfig = endpoint.getConfiguration();
final PayloadFormat payloadFormat = endpointConfig.getFormat();
// check if its a Bulk Operation
if (isBulkOperation(endpoint.getOperationName())) {
processor = new BulkApiProcessor(endpoint);
} else {
// create an appropriate processor
if (payloadFormat == PayloadFormat.JSON) {
// create a JSON exchange processor
processor = new JsonRestProcessor(endpoint);