thanks Nathan, then it's ok to have one SpoutMsg for all three message types. But personally I still think use a single SpoutMsg and change its property every time seems a little tricky.