The mechanism of action of ethanolamine ammonia-lyase, a B12-dependent enzyme. The reversible formation of 5'-deoxyadenosine from adenosylcobalamin during the catalytic process.