if (connectionSpecModel != null) {
String connSpecClassName = connectionSpecModel.getConnectionSpecClassName();
Properties connSpecProps = connectionSpecModel.getProperties();
processor.setConnectionSpec(connSpecClassName, connSpecProps);
}
InteractionSpecModel interactionSpecModel = outboundInteractionModel.getInteractionSpec();
if (interactionSpecModel != null) {
String interactSpecClassName = interactionSpecModel.getInteractionSpecClassName();
Properties interactSpecProps = interactionSpecModel.getProperties();
processor.setInteractionSpec(interactSpecClassName, interactSpecProps);
}
return new OutboundHandler(processor, getServiceDomain());
}