Processing messages with workers