private void processEndpointDeActivation()
    {
        final String methodName = "processEndpointDeActivation";
        if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
            SibTr.entry(this, TRACE, methodName, new Object[] {});
        }

        String endpointName = null;
        if (_messageEndpointFactory instanceof MDBMessageEndpointFactory)
        {
            try {
                endpointName = ((MDBMessageEndpointFactory) _messageEndpointFactory).getMDBKey().toString();
            } catch (Exception e) {
                FFDCFilter.processException(e,
                                            "com.ibm.ws.sib.ra.inbound.impl.SibRaListener",
                                            "1059", this);
            }

            // Output a message that we are about to pause the endpoint
            SibTr.warning(TRACE, "MESSAGE_ENDPOINT_PAUSED_AUTONOMICALLY_CWSIV0902",
                          new Object[] { endpointName, _destinationAddress });

            // call bus sec action
            try
            {
                // Use reflection here as the class should not be loaded for the stand alone
                // RA (this method should not be driven by the standalone RA and calling it
                // may invoke the use of BusSecurityAction which is not bundled with the stand alone
                // RA.
                Class<?> busAction = Class.forName("com.ibm.ws.sib.ra.inbound.impl.SibRaBusSecurityAction");
                Method performBusSecurityAction = busAction.getDeclaredMethod("performBusSecurityAction",
                                                                              new Class[] { String.class, SIDestinationAddress.class });
                performBusSecurityAction.invoke(null, new Object[] { endpointName, _destinationAddress });
            } catch (Exception ex)
            {
                FFDCFilter.processException(ex, CLASS_NAME + "." + methodName, "1:1128:1.68");
                SibTr.error(TRACE, "INVOKE_MBEAN_EXCEPTION__CWSIV0903",
                            new Object[] { endpointName, _destinationAddress, ex });
            }

        }

        if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
            SibTr.exit(this, TRACE, methodName);
        }
    }
private void processEndpointDeActivation ( ) { final String methodName = "processEndpointDeActivation" ; if ( TraceComponent . isAnyTracingEnabled ( ) && TRACE . isEntryEnabled ( ) ) { SibTr . entry ( this , TRACE , methodName , new Object [ ] { } ) ; } String endpointName = null ; if ( _messageEndpointFactory instanceof MDBMessageEndpointFactory ) { try { endpointName = ( ( MDBMessageEndpointFactory ) _messageEndpointFactory ) . getMDBKey ( ) . toString ( ) ; } catch ( Exception e ) { FFDCFilter . processException ( e , "com.ibm.ws.sib.ra.inbound.impl.SibRaListener" , "1059" , this ) ; } SibTr . warning ( TRACE , "MESSAGE_ENDPOINT_PAUSED_AUTONOMICALLY_CWSIV0902" , new Object [ ] { endpointName , _destinationAddress } ) ; try { Class < ? > busAction = Class . forName ( "com.ibm.ws.sib.ra.inbound.impl.SibRaBusSecurityAction" ) ; Method performBusSecurityAction = busAction . getDeclaredMethod ( "performBusSecurityAction" , new Class [ ] { String . class , SIDestinationAddress . class } ) ; performBusSecurityAction . invoke ( null , new Object [ ] { endpointName , _destinationAddress } ) ; } catch ( Exception ex ) { FFDCFilter . processException ( ex , CLASS_NAME + "." + methodName , "1:1128:1.68" ) ; SibTr . error ( TRACE , "INVOKE_MBEAN_EXCEPTION__CWSIV0903" , new Object [ ] { endpointName , _destinationAddress , ex } ) ; } } if ( TraceComponent . isAnyTracingEnabled ( ) && TRACE . isEntryEnabled ( ) ) { SibTr . exit ( this , TRACE , methodName ) ; } }
/*
Deactivate the endpoint (pause the endpoint) via the JCA Mbean.

This method is invoked when the sequential message failure threshold
has been hit