private boolean isBlockRequired(SIMPMessage message)
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(tc, "isBlockRequired", message);

        boolean isBlockRequired = false;

        if (_originalDestination != null)
        {
            String exceptionDestination = _originalDestination.getExceptionDestination();
            // urwashi probable fix
            boolean toBedeleted = _originalDestination.isToBeDeleted();

            if ((exceptionDestination == null) || (exceptionDestination.equals(""))) // urwashi probable fix complete
            {
                if (!toBedeleted) {
                    isBlockRequired = true;
                }
            }

        }
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(tc, "isBlockRequired", Boolean.valueOf(isBlockRequired));

        return isBlockRequired;
    }
private boolean isBlockRequired ( SIMPMessage message ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "isBlockRequired" , message ) ; boolean isBlockRequired = false ; if ( _originalDestination != null ) { String exceptionDestination = _originalDestination . getExceptionDestination ( ) ; boolean toBedeleted = _originalDestination . isToBeDeleted ( ) ; if ( ( exceptionDestination == null ) || ( exceptionDestination . equals ( "" ) ) ) { if ( ! toBedeleted ) { isBlockRequired = true ; } } } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "isBlockRequired" , Boolean . valueOf ( isBlockRequired ) ) ; return isBlockRequired ; }
Works out whether the message should be made to block awaiting
a remote ME, or posted on the local one.
<p>
If the message has requested that order be preserved, we cannot send this
message to an exception destination for fear of breaking that ordering.
Therefore we block the message.
<p>
A null exception destination name indicates we do not wish to use an
exception destination.
<p>

@param message The message we are routing through.
@return True if the message should be blocked, and should continue
to be sent to a remote ME, false if the message should be re-posted
locally on this ME.