make default message lifetime configurable