code: private String getBindingName(ResourceInfo resourceInfo) {
          String destBindingName = null;
  
          String link = resourceInfo.getLink();
          if (link == null) {
              destBindingName = getBindingName(resourceInfo.getName());
          } else {
              destBindingName = InjectionEngineAccessor.getMessageDestinationLinkInstance().
                              findDestinationByName(resourceInfo.getApplication(),
                                                    resourceInfo.getModule(),
                                                    link);
              // if the link name is not found in the map, default the binding to
              // the link name, but strip off a module name if there is one.
              if (destBindingName == null) {
                  Link mdLink = Link.parseMessageDestinationLink(resourceInfo.getModule(), link);
                  destBindingName = mdLink.name;
              }
          }
          return destBindingName;
      }
docs: When a message-destination-link is available, look up the binding from
  message destination link map. If that binding is not available, default
  to the link name.