message can define if it's java worker or python worker