public boolean isFlowActive ( ) { Object val = this . getArgument ( "active" ) ; if ( val instanceof Integer ) { return ( ( Integer ) val ) . intValue ( ) == 1 ; } else { throw new IllegalStateException ( "ChannelEvent does not contain the 'active' argument" ) ; } }
Returns For flow events returns true if flow is active