More uses of enums, ProcessingMessageAssert

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>