rename "message" to "type" and add getter
Authored by: thibautd 2014-09-23
Parent: [r30375]
Child: [r30377]