}
} catch (Exception e) {
throw JCAMessages.MESSAGES.couldnTAcquireTheResourceAdapter(raName, e);
}
AbstractInflowEndpoint endpoint = null;
Class<?> endpointClass = null;
try {
endpointClass = (Class<?>)_appClassLoader.loadClass(endpointClassName);
endpoint = (AbstractInflowEndpoint) endpointClass.newInstance();
if (!endpointProps.isEmpty()) {
PropertyEditors.mapJavaBeanProperties(endpoint, endpointProps);
}
} catch (Exception e) {
throw JCAMessages.MESSAGES.endpointClass(endpointClassName, e);
}
boolean transacted = inboundInteractionModel.isTransacted();
endpoint.setApplicationClassLoader(_appClassLoader)
.setServiceDomain(getServiceDomain())
.setServiceQName(name)
.setDeliveryTransacted(transacted)
.setJCABindingModel(jcaconfig);