private void createRemoteListenerDeactivateOnException(
            final boolean initialAttempt) {

        final String methodName = "createRemoteListenerDeactivateOnException";
        if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
            SibTr.entry(this, TRACE, methodName, Boolean
                    .valueOf(initialAttempt));
        }

        try {

            createRemoteListener(initialAttempt);

        } catch (final ResourceException exception) {

            FFDCFilter.processException(exception, CLASS_NAME + "."
                    + methodName, FFDC_PROBE_7, this);

            SibTr.error(TRACE, "CONNECT_FAILED_CWSIV0783", new Object[] {
                    _endpointConfiguration.getDestination()
                            .getDestinationName(),
                    _endpointConfiguration.getBusName(), this, exception });

            deactivate();

        }

        if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
            SibTr.exit(this, TRACE, methodName);
        }

    }
private void createRemoteListenerDeactivateOnException ( final boolean initialAttempt ) { final String methodName = "createRemoteListenerDeactivateOnException" ; if ( TraceComponent . isAnyTracingEnabled ( ) && TRACE . isEntryEnabled ( ) ) { SibTr . entry ( this , TRACE , methodName , Boolean . valueOf ( initialAttempt ) ) ; } try { createRemoteListener ( initialAttempt ) ; } catch ( final ResourceException exception ) { FFDCFilter . processException ( exception , CLASS_NAME + "." + methodName , FFDC_PROBE_7 , this ) ; SibTr . error ( TRACE , "CONNECT_FAILED_CWSIV0783" , new Object [ ] { _endpointConfiguration . getDestination ( ) . getDestinationName ( ) , _endpointConfiguration . getBusName ( ) , this , exception } ) ; deactivate ( ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && TRACE . isEntryEnabled ( ) ) { SibTr . exit ( this , TRACE , methodName ) ; } }
Creates a connection to any messaging engine on the required bus and then
registers a listener. If the attempt fails with an
<code>SIResourceException</code> schedules another attempt after the
retry interval. If the attempt fails with some other exception then the
endpoint is deactivated.

@param initialAttempt
indicates that this is the first attempt at creating the
remote listener and that a warning should be output if it
fails and retry is started