code: public void resetDestination(String destName)
      {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(tc, "resetDestination", destName);
  
          try
          {
              DestinationHandler dh = destinationIndex.findByName(
                                                                  destName,
                                                                  messageProcessor.getMessagingEngineBus(),
                                                                  null);
  
              checkDestinationHandlerExists(
                                            dh != null,
                                            destName,
                                            messageProcessor.getMessagingEngineBus());
  
              // Only applicable to BaseDestinationHandlers
              if (dh instanceof BaseDestinationHandler)
              {
                  BaseDestinationHandler bdh = (BaseDestinationHandler) dh;
  
                  // Need to ensure that this change is persisted - specifically that the
                  // BDH "toBeIgnored" flag is persisted
                  LocalTransaction siTran = txManager.createLocalTransaction(true);
  
                  // Drive the object's reset method
                  bdh.reset();
  
                  // Change our entry in the appropriate index.
                  destinationIndex.reset(dh);
  
                  // Persist the change
                  bdh.requestUpdate((Transaction) siTran);
  
                  // commit the transaction
                  siTran.commit();
  
                  if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                      SibTr.debug(tc, "Have reset destination " + bdh.getName());
              }
              else
              {
                  if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                      SibTr.debug(tc, "Not a BDH, cannot reset destination " + dh.getName());
              }
          } catch (MessageStoreException e)
          {
              // No FFDC code needed
  
              SibTr.exception(tc, e);
  
              //throw e;
          } catch (SIException e)
          {
              // No FFDC code needed
  
              SibTr.exception(tc, e);
  
              //handleRollback(siTran);
              //        throw e;
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(tc, "resetDestination");
      }
docs: Reset a destination.
  
  @param destName
  
  @throws InvalidOperationException if the destination is not one which can
  be reset (e.g. it is an alias destination).
  @throws SIDestinationNotFoundException