if (interceptSend.getSkipSendToOriginalEndpoint()) {
buffer.append(".skipSendToOriginalEndpoint()");
}
} else if (out instanceof MarshalDefinition) {
DataFormatDefinition dataFormat = ((MarshalDefinition)out).getDataFormatType();
XmlRootElement xmlRoot = dataFormat.getClass().getAnnotation(XmlRootElement.class);
buffer.append("().").append(xmlRoot.name()).append("()");
} else if (out instanceof MulticastDefinition) {
buffer.append("()");
} else if (out instanceof OtherwiseDefinition) {
buffer.append("()");
} else if (out instanceof PipelineDefinition) {
// transformed into simple ToDefinition
} else if (out instanceof PolicyDefinition) {
renderPolicy(buffer, out);
} else if (out instanceof PollEnrichDefinition) {
renderPollEnrich(buffer, out);
} else if (out instanceof ProcessDefinition) {
renderProcess(buffer, out);
} else if (out instanceof RemoveHeaderDefinition) {
RemoveHeaderDefinition remove = (RemoveHeaderDefinition)out;
buffer.append("(\"").append(remove.getHeaderName()).append("\")");
} else if (out instanceof RemovePropertyDefinition) {
RemovePropertyDefinition remove = (RemovePropertyDefinition)out;
buffer.append("(\"").append(remove.getPropertyName()).append("\")");
} else if (out instanceof SetExchangePatternDefinition) {
SetExchangePatternDefinition setEP = (SetExchangePatternDefinition)out;
buffer.append("(ExchangePattern.");
buffer.append(setEP.getPattern().toString());
buffer.append(")");
} else if (out instanceof SortDefinition) {
SortDefinition sort = (SortDefinition)out;
buffer.append("(");
ExpressionRenderer.renderExpression(buffer, sort.getExpression().toString());
buffer.append(")");
} else if (out instanceof StopDefinition) {
buffer.append("()");
} else if (out instanceof ThreadsDefinition) {
renderThreads(buffer, out);
} else if (out instanceof TransactedDefinition) {
renderTransacted(buffer, out);
} else if (out instanceof TryDefinition) {
buffer.append("()");
} else if (out instanceof UnmarshalDefinition) {
DataFormatDefinition dataFormat = ((UnmarshalDefinition)out).getDataFormatType();
XmlRootElement xmlRoot = dataFormat.getClass().getAnnotation(XmlRootElement.class);
buffer.append("().").append(xmlRoot.name()).append("()");
}
}