public Enumeration listMessagingEngines(String busName) {

        String thisMethodName = CLASS_NAME + ".listMessagingEngines(String)";

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
            SibTr.entry(tc, thisMethodName, busName);
        }

        Vector v = new Vector();

        Enumeration e = listMessagingEngines();
        while (e.hasMoreElements()) {
            Object c = e.nextElement();
            if (((BaseMessagingEngineImpl) c).getBusName().equals(busName))
                v.addElement(c);
        }

        Enumeration elements = v.elements();

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
            SibTr.exit(tc, thisMethodName);
        }

        return elements;
    }
public Enumeration listMessagingEngines ( String busName ) { String thisMethodName = CLASS_NAME + ".listMessagingEngines(String)" ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) { SibTr . entry ( tc , thisMethodName , busName ) ; } Vector v = new Vector ( ) ; Enumeration e = listMessagingEngines ( ) ; while ( e . hasMoreElements ( ) ) { Object c = e . nextElement ( ) ; if ( ( ( BaseMessagingEngineImpl ) c ) . getBusName ( ) . equals ( busName ) ) v . addElement ( c ) ; } Enumeration elements = v . elements ( ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) { SibTr . exit ( tc , thisMethodName ) ; } return elements ; }
Return a list of Messaging Engines

@param busName
@return Enumeration