code: public JsMessagingEngine getMessagingEngine(String busName, String engine) {
  
          String thisMethodName = CLASS_NAME
                                  + ".getMessagingEngine(String, String)";
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
              SibTr.entry(tc, thisMethodName, new Object[] { busName, engine });
          }
  
          AuditManager auditManager = new AuditManager();
          auditManager.setJMSBusName(busName);
          auditManager.setJMSMessagingEngine(engine);
  
          Enumeration vEnum = _messagingEngines.elements();
          JsMessagingEngine foundMessagingEngine = null;
  
          while (vEnum.hasMoreElements() && foundMessagingEngine == null) {
  
              //Liberty COMMs change
              //In Liberty only one Messaging Engine and connection fctory properties
              //cannot specify Target name.
              //Hence changing the logic to not to compare.
  
              Object o = vEnum.nextElement();
              Object c = ((MessagingEngine) o).getRuntime();
  
              foundMessagingEngine = (JsMessagingEngine) c;
              break;
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
              SibTr.exit(tc, thisMethodName);
          }
  
          return foundMessagingEngine;
      }
docs: Get an instance of a messaging engine
  
  @param busName
  @param engine
  @return JsMessagingEngine