Added support for customizing some message properties

Support customizing the message content type, delivery mode and
priority.