public SIMPQueueControllable getQueueControlByName(String name, String bus)
    throws SIMPControllableNotFoundException,
           SIMPException
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "getQueueControlByName", new Object[] { name, bus });
      
    DestinationTypeFilter filter = new DestinationTypeFilter();
    filter.VISIBLE = Boolean.TRUE;
    ControllableResource dest = destinationIndex.findByName(name, bus, filter);
    if(dest == null)
    {
      SIMPControllableNotFoundException finalE =
        new SIMPControllableNotFoundException(
          nls_cwsik.getFormattedMessage(
            "DESTINATION_NOT_FOUND_ERROR_CWSIP0341",   
            new Object[] { name, messageProcessor.getMessagingEngineName() },
            null));     

      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "getQueueControlByName", finalE);
      
      throw finalE; 
    }
    
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "getQueueControlByName");
      
    return (SIMPQueueControllable) dest.getControlAdapter();
  }
public SIMPQueueControllable getQueueControlByName ( String name , String bus ) throws SIMPControllableNotFoundException , SIMPException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "getQueueControlByName" , new Object [ ] { name , bus } ) ; DestinationTypeFilter filter = new DestinationTypeFilter ( ) ; filter . VISIBLE = Boolean . TRUE ; ControllableResource dest = destinationIndex . findByName ( name , bus , filter ) ; if ( dest == null ) { SIMPControllableNotFoundException finalE = new SIMPControllableNotFoundException ( nls_cwsik . getFormattedMessage ( "DESTINATION_NOT_FOUND_ERROR_CWSIP0341" , new Object [ ] { name , messageProcessor . getMessagingEngineName ( ) } , null ) ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "getQueueControlByName" , finalE ) ; throw finalE ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "getQueueControlByName" ) ; return ( SIMPQueueControllable ) dest . getControlAdapter ( ) ; }
/* (non-Javadoc)
@see com.ibm.ws.sib.processor.runtime.SIMPMessageProcessorControllable#getQueueControlByName(java.lang.String, java.lang.String)