add setMessage method in runningtask bridge