msgDestType.setStringValue(resourceType);
messageDestinationRef.setMessageDestinationType(msgDestType);
}
if (method != null || field != null) {
// injectionTarget
InjectionTargetType injectionTarget = messageDestinationRef.addNewInjectionTarget();
configureInjectionTarget(injectionTarget, method, field);
}
//------------------------------------------------------------------------------
// <message-destination-ref> optional elements: