A novel method for the measurement of half-lives and decay branching ratios of exotic nuclei