public void setDefaultTransactionTimeout ( int timeoutSecs ) throws Exception { final Address address = Address . root ( ) . add ( SUBSYSTEM , TRANSACTIONS ) ; final ModelNode req = createWriteAttributeRequest ( "default-timeout" , String . valueOf ( timeoutSecs ) , address ) ; final ModelNode response = execute ( req ) ; if ( ! isSuccess ( response ) ) { throw new FailureException ( response ) ; } return ; }
Sets the default transaction timeout .