message factory has full config access and is created with type