Use psubscribe and pmessage.