No specific reason really, but yes, you're right, the message contents should be supplied by the worker class, and we can leave the mechanics of the message sending to the publisher.