code: private void deactivateEndpointInternal(MessageEndpointFactoryImpl mef) {
          mef.runtimeActivated = false;
  
          EndpointActivationService eas = mef.endpointActivationServiceInfo.getService();
          try {
              mef.deactivateEndpointInternal(eas);
          } catch (Throwable ex) {
              // The endpoint has been placed back in the pending state,
              // nothing else to do; either the server is going down, or
              // the activation spec went down; hopefully the endpoint
              // will activate if the activation spec comes back up.
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                  Tr.debug(tc, "Ignoring unexpected exception : " + ex);
              }
          }
      }
docs: Deactivates an endpoint that was previously activated by {@link #activateEndpointInternal}.