exchange.setOperation((QName) context.getProperty(Context.OPERATION));
if (context.getProperty(Context.ENDPOINT) != null) {
ComponentContext componentContext = endpoint.getServiceUnit().getComponent().getComponentContext();
QName serviceName = (QName) context.getProperty(Context.SERVICE);
String endpointName = (String) context.getProperty(Context.ENDPOINT);
ServiceEndpoint se = componentContext.getEndpoint(serviceName, endpointName);
if (se != null) {
exchange.setEndpoint(se);
}
}
NormalizedMessage inMessage = exchange.createMessage();