/** * Set the time to wait before stopping execution of this message * * @param timeout the timeout in ms, or -1 indicating no timeout */ public void setExecutionTimeout(int timeout) { _record.setIntField(Attributes.TIMEOUT.toString(), timeout); }
/** * Get the time to wait before stopping execution of this message * * @return the timeout in ms, or -1 indicating no timeout */ public int getExecutionTimeout() { return _record.getIntField(Attributes.TIMEOUT.toString(), -1); }